Well, as it is written in tutorial you should use run(...) method of  
Gtk::Main object instead of simply calling some show*() methods of  
Gtk::Window. In your case:

kit.run( window);

Samvel



On Sat, 19 Aug 2006 12:49:00 -0500, Diether Knof <[EMAIL PROTECTED]> wrote:

> Hello,
>
> when I hide a window and show it again before the main event loop is  
> called, the window is not shown.
>
> example code:
> #include <gtkmm.h>
>
> int main(int argc, char *argv[])
> {
>   Gtk::Main kit(argc, argv);
>   Gtk::Window window;
>   window.show_now();
>   window.hide();
>   window.show();
>
>   while(true)
>     kit.iteration();
>
>   return EXIT_SUCCESS;
> }
>
>
>
> Greetings
> Diether Knof



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to