Re: .fullscreen () on windows



Yes thank you very much (banging my head against the wall) Now I am going to the soccer Club Brugge vs Juventus so I will test tommorow some more or this night.

thnx your briliant!!!

Matthias Kestenholz wrote:

Hi Bart,

On Wed, 2005-09-14 at 16:25 +0200, Bart Verstraete wrote:
why doesn't this work on windows I don't get a error:

#include <gtkmm/main.h>
#include <gtkmm/window.h>

int main(int argc, char *argv[])
{
   Gtk::Main kit(argc, argv);

   Gtk::Window window;

   Gtk::Main::run(window);
window.fullscreen(); return 0;
}


I'm pretty sure window.fullscreen() will never get executed (or only
before the program exits). You should place the .fullscreen() call
either before Gtk::Main::run() or better yet somewhere in the
initialization code of your application (which is inexistent now because
you have only a test application).

hth,





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]