sugar4.graphics.toolbarbox
The ToolbarBox provides a horizontal toolbar container for Sugar activities, supporting both regular toolbar buttons and expandable toolbar sections.
Attributes
Classes
A toolbar button that can expand to show a toolbar page inline. |
|
A container for toolbars that provides expandable toolbar sections. |
Module Contents
- class sugar4.graphics.toolbarbox.ToolbarButton(page=None, **kwargs)[source]
Bases:
sugar4.graphics.toolbutton.ToolButtonA toolbar button that can expand to show a toolbar page inline.
This is the main difference from regular ToolButton - it can show an entire toolbar page when clicked, similar to a collapsible section.
- class sugar4.graphics.toolbarbox.ToolbarBox(padding=style.TOOLBOX_HORIZONTAL_PADDING)[source]
Bases:
gi.repository.Gtk.BoxA container for toolbars that provides expandable toolbar sections.
The ToolbarBox contains a main horizontal toolbar and can show expanded toolbar pages below it when ToolbarButtons are activated.