Gladeui.Palette¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
Properties¶
- Inherited:
Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The appearance of the palette items |
||
r/w |
This palette’s current project |
||
r/w |
Whether to show the internal selector button |
||
r/w |
Whether to use small icons to represent items |
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Gladeui.Palette(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
Gladeui.Palette
- Return type:
Creates a new
Gladeui.Palette
widget
- get_item_appearance()¶
- Returns:
The appearance of the palette items
- Return type:
- get_project()¶
- Returns:
- Return type:
- get_tool_palette()¶
- Returns:
the
Gtk.ToolPalette
associated to this palette.- Return type:
- set_item_appearance(item_appearance)¶
- Parameters:
item_appearance (
Gladeui.ItemAppearance
) – the item appearance
Sets the appearance of the palette items.
- set_project(project)¶
- Parameters:
project (
Gladeui.Project
) –
- set_show_selector_button(show_selector_button)¶
- Parameters:
show_selector_button (
bool
) – whether to show selector button
Sets whether to show the internal widget selector button
- set_use_small_item_icons(use_small_item_icons)¶
- Parameters:
use_small_item_icons (
bool
) – Whether to use small item icons
Sets whether to use small item icons.
- do_refresh() virtual¶
Signal Details¶
- Gladeui.Palette.signals.refresh(palette)¶
- Signal Name:
refresh
- Flags:
- Parameters:
palette (
Gladeui.Palette
) – The object which received the signal
Property Details¶
- Gladeui.Palette.props.item_appearance¶
- Name:
item-appearance
- Type:
- Default Value:
- Flags:
The appearance of the palette items
- Gladeui.Palette.props.project¶
- Name:
project
- Type:
- Default Value:
- Flags:
This palette’s current project
- Gladeui.Palette.props.show_selector_button¶
-
Whether to show the internal selector button