Re: window is not shown
- From: Samvel <ksamdev gmail com>
- To: "Diether Knof" <dknof gmx de>, gtkmm-list gnome org
- Subject: Re: window is not shown
- Date: Wed, 23 Aug 2006 09:12:31 -0500
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 <dknof gmx de> 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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]