Re: .fullscreen () on windows
- From: Matthias Kestenholz <lists irregular ch>
- To: gtkmm-list gnome org
- Subject: Re: .fullscreen () on windows
- Date: Wed, 14 Sep 2005 16:41:02 +0200
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,
--
Matthias Kestenholz
mk irregular ch
http://blog.irregular.ch/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]