Re: [pygtk] Finding out a widget's parent
- From: James Henstridge <james daa com au>
- To: Christian Robottom Reis <kiko async com br>
- Cc: David Everly <deckrider yahoo com>, <pygtk daa com au>, <gtk-app-devel-list gnome org>
- Subject: Re: [pygtk] Finding out a widget's parent
- Date: Fri, 10 Aug 2001 16:15:02 +0800 (WST)
On Wed, 8 Aug 2001, Christian Robottom Reis wrote:
On Wed, 8 Aug 2001, David Everly wrote:
selectionWin.__getattr__('file_list')['parent'].hide()
Damn. foo['parent']. and what's worse, clise['selection_mode'].
These correspond to the get_property() and set_property() methods in
pygtk2. It is using the obscure mapping behaviour because that is what
was used in Tkinter for properties. Unfortunately, people don't often
find this :(
There should probably be a widget.parent attribute in the stable version
of pygtk (there is one for pygtk2).
James.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]