Development Team/Almanac/sugar.graphics.toolbutton: Difference between revisions
| Line 66: | Line 66: | ||
self.toolbox.set_current_toolbar(1) | self.toolbox.set_current_toolbar(1) | ||
=== How do I set the icon search path for my toolbar button? === | |||
By default, the Sugar system icon folders and the icons subdirectory of your activity are searched. You can add additional directories to search as follows: | |||
icon_theme = gtk.icon_theme_get_default() | |||
icon_theme.append_search_path(your_icon_path) | |||