diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-13 03:11:39 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-13 03:11:39 (GMT) |
commit | 165b9e1e05a82a43dc077383979aedc24e474f28 (patch) | |
tree | 0107eed4ee1abdad4c52bf2ce87b1369a371c05c /examples | |
parent | 5d2c5b98fff34eed18f7aede574fe2eeea8cd664 (diff) |
Provide fast access to all sub-widgets in Toolbar
Diffstat (limited to 'examples')
-rw-r--r-- | examples/toolbar.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/toolbar.py b/examples/toolbar.py index 66c09f0..6150be3 100644 --- a/examples/toolbar.py +++ b/examples/toolbar.py @@ -46,5 +46,7 @@ tollbarbutton_4 = ToolbarButton( icon_name='document-save') toolbar.top.insert(tollbarbutton_4, -1) +print [i.props.page for i in toolbar.subs] + window.show_all() gtk.main() |