Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Development Team/Almanac/sugar.graphics.toolbutton
(view source)
Revision as of 19:50, 24 February 2010
154 bytes added
,
19:50, 24 February 2010
→Class: ToolButton (gtk.ToolButton)
Line 56:
Line 56:
customButton.props.accelerator = _('<ctrl>plus')
customButton.props.accelerator = _('<ctrl>plus')
+
+
=== How do I set the default toolbar menu? ====
+
+
Use the set_expanded() method of the ToolbarButton class.
+
+
my_toolbar_button.set_expanded(True)
Walter
Bureaucrats
,
Administrators
10,579
edits