STABLE.
Bases: sugar3.graphics.palettewindow.PaletteWindow
Floating palette implementation.
This class dynamically switches between one of two encapsulated child widget types: a _PaletteWindowWidget or a _PaletteMenuWidget.
The window widget, created by default, acts as the container for any type of widget the user may wish to add. It can optionally display primary text, secondary text, and an icon at the top of the palette.
If the user attempts to access the ‘menu’ property, the window widget is destroyed and the palette is dynamically switched to use a menu widget. This is a GtkMenu that retains the same look and feel as a normal palette, allowing submenus and so on. If primary text, secondary text and/or icons were provided, an initial menu entry is created containing widgets to display such information.