sugar3.graphics.toolbutton module

STABLE.

class sugar3.graphics.toolbutton.ToolButton(icon_name=None, **kwargs)

Bases: gi.overrides.Gtk.ToolButton

accelerator
create_palette()
do_clicked()
do_draw(cr)
do_get_property(pspec)
do_set_property(pspec, value)
get_accelerator()
get_hide_tooltip_on_click()
get_icon_name()
get_palette()
get_palette_invoker()
get_tooltip()
hide_tooltip_on_click
icon_name
palette
palette_invoker
set_accelerator(accelerator)
set_hide_tooltip_on_click(hide_tooltip_on_click)
set_icon_name(icon_name)
set_palette(palette)
set_palette_invoker(palette_invoker)
set_tooltip(tooltip)

Set a simple palette with just a single label.

tooltip
sugar3.graphics.toolbutton.setup_accelerator(tool_button)