Changes
Jump to navigation
Jump to search
Line 9:
Line 9:
− +
Development Team/Almanac/sugar.graphics.toolbutton (view source)
Revision as of 14:46, 29 May 2008
, 14:46, 29 May 2008→Class: ToolButton ([http://www.pygtk.org/docs/pygtk/ gtk.ToolButton])
# Use the code below to guide you on how to then create your button programmatically and add it to a tool bar (we add it to an EditToolbar object that was presumably created already in our code).
# Use the code below to guide you on how to then create your button programmatically and add it to a tool bar (we add it to an EditToolbar object that was presumably created already in our code).
#### CUSTOM TOOL BUTTON
from sugar.graphics.toolbutton import ToolButton
from sugar.graphics.toolbutton import ToolButton
...
...