Re: [glade--] Learning to use glademm-generated code

Christof Petig <[email protected]> Sun, 12 Dec 2004 00:46:30 +0100
Newsgroups gmane.comp.gnome.glademm
Organization Adolf Petig GmbH & Co. KG
Message-ID <[email protected]>
Baltasarq schrieb:
>>which version does glademm target?
> 
> 
> 	Well, I don't really now. How can I find that information ? I use glade-2 in 
> order to generate the source code. Are you suggesting I shouldn' do that, I 
> mean, should I create my project from command line ?  I tried:

simply start glade-2 in a shell to see glademm's output.

> $ glade-- --gtkmmversion 2.4 sumador.glade

try --gtkmmversion 2.4.0

>>Gtk::Main::instance()->quit() is preferred (see gtkmm documentation) 
>>since it does not bypass local object destruction.
> 
> 
> 	Thank you. However the application is not finished when the main window is 
> closed, so I think the problem is that the signal I'm using, hide, is not the 
> appropriate one.

look for delete_*, IIRC (a signal of Window returning bool)

   Christof

_______________________________________________
glademm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/glademm-list
signature.asc (application/pgp-signature, 251 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFBu4bWng+R+0ucfO0RAsBeAKCMEiJSRg58ngIXn9JipdQvEVSGDACgkC/G
uOFGOh/xpFr+fbQ+uDGII8Y=
=+XLv
-----END PGP SIGNATURE-----