Finding out a widget's parent
- From: Christian Robottom Reis <kiko async com br>
- To: <pygtk daa com au>, <gtk-app-devel-list gnome org>
- Subject: Finding out a widget's parent
- Date: Wed, 8 Aug 2001 00:03:18 -0300 (BRT)
How does one find out the widget's parent (i.e., it's immediately
enclosing container). I've thought about writing a wrapper for
gtk_widget->parent, but noticed there doesn't seem to be a way of finding
out _what type of widget it is_ -- or is there?
Is there another way of picking up it's parent? Using get_ancestor,
perhaps?
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]