sugar3.graphics.palettemenu module

class sugar3.graphics.palettemenu.PaletteMenuBox

Bases: gi.repository.Gtk.VBox

append_item(item_or_widget, horizontal_padding=None, vertical_padding=None)
class sugar3.graphics.palettemenu.PaletteMenuItem(text_label=None, icon_name=None, text_maxlen=60, xo_color=None, file_name=None, accelerator=None)

Bases: gi.repository.Gtk.EventBox

set_accelerator(text)
set_image(icon)
set_label(text_label)
set_sensitive(sensitive)
class sugar3.graphics.palettemenu.PaletteMenuItemSeparator

Bases: gi.repository.Gtk.EventBox

Contains a HSeparator and has the proper height for the menu.

Previous topic

sugar3.graphics.palettegroup module

Next topic

sugar3.graphics.palettewindow module

This Page