-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Nietykalny wrote:
> 
>  Hello Everyone :)
> 
>  I'm writting simpl c++ and gtkmm 2.4 application, which is simpla database, 
> but nevermind. I doesn't know how to put widget like Gtk::Label into 
> Gtk::Dialog ? I've been trying somethig like this: 
> 
>    Gtk::VBox *pBox=itsDialog.get_vbox();
>    pBox->pack_start(itsLabel);
> 
>   Unfourtunetlly, it doesn't work. I'd like to know how to create many 
> windows in one Gtk::Main::run() loop. First - parent window is with menus and 
> the second is with preferences. I tried to have two Gtk::Main::run() for, but 
> if both windows was open and parent window has been closed the program 
> hanged. 

If "itsLabel" is a local variable, and goes out of scope before showing
the dialog, then it won't work. Maybe this is your problem? If that's
the case, allocate it on the heap wrapped in Gtk::manage().

>     
> 
>   
> 
> ---------------------------------------------------------------------
> Toshiba i FIFA World Cup
> Wygraj bilety i notebooki z Intel Centrino Duo Mobile Technology
> http://link.interia.pl/f1912
> 
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 

- --
R. Douglas Barbieri
[EMAIL PROTECTED]
http://www.dooglio.net

GPG Fingerprint: 3707 2A46 7DFC D673 FFB8  54B1 0EC9 5CF6 A1FC 6F11
GPG recv-key   : A1FC6F11
GPG Public key : http://www.dooglio.net/dooglio.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEGQwMDslc9qH8bxERAmNOAJwMQsEH8RNNmELb5fjUKJR1YbfzaQCeJMd2
tGu9gUkWBQs+0T1jP1g2/H0=
=0Is5
-----END PGP SIGNATURE-----
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to