Re: get parent



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

Giovanni Manenti <linux euromatic-automazione it> writes:

Hi, how can I get the parent of a widget?

I'm using gtk 1.2.

Check gtk/gtkwidget.h (widget->parent).  GTK+ 1.2 is well past it's
use by date, though.  Use gtk_widget_get_parent() in GTK+ 2.x.


Regards,
Roger

- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFCmyAJVcFcaSW/uEgRAkpiAKCkkvgPeV8K+ya5bmdpPBGPnBA+wQCg3Mz1
/h8sBGiyAcS5A1rk4oSfBGI=
=OlT1
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]