get parent

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

get parent

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

I'm using gtk 1.2.


thanks
Giovanni

_______________________________________________
gtk-app-devel-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Reply | Threaded
Open this post in threaded view
|

Re: get parent

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

Giovanni Manenti <[hidden email]> 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-----
_______________________________________________
gtk-app-devel-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list