GimpUi.ColorNotebook¶
- Subclasses:
None
Methods¶
- Inherited:
GimpUi.ColorSelector (17), 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)
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Name |
Type |
Default |
Flags |
Short Description |
|---|---|---|---|---|
|
r |
Size for icons displayed in the tab |
Signals¶
Fields¶
Class Details¶
- class GimpUi.ColorNotebook(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
GimpUi.ColorNotebookwidget is an implementation of aGimpUi.ColorSelector. It serves as a container forGimpUi.ColorSelectors.- get_current_selector()¶
- Returns:
The active page’s
GimpUi.ColorSelector.- Return type:
New in version 3.0.
- get_notebook()¶
- Returns:
The
Gtk.Notebookinside.- Return type:
New in version 3.0.
- get_selectors()¶
- Returns:
The notebook’s list of
GimpUi.ColorSelector's.- Return type:
New in version 3.0.
- set_format(format)¶
- Parameters:
format (
Babl.Object) – ABabl.Objectformat, with space.
Updates all selectors with the current format.
New in version 3.0.
- set_has_page(page_type, has_page)¶
- Parameters:
page_type (
GObject.GType) – TheGObject.GTypeof the notebook page to add or remove.has_page (
bool) – Whether the page should be added or removed.
- Returns:
The new page widget, if has_page was
True, orNoneif has_page wasFalse.- Return type:
This function adds and removed pages to / from a
GimpUi.ColorNotebook. The page_type passed must be aGimpUi.ColorSelectorsubtype.
- set_simulation(profile, intent, bpc)¶
- Parameters:
profile (
Gimp.ColorProfile) – AGimp.ColorProfileobject.intent (
Gimp.ColorRenderingIntent) – AGimp.ColorRenderingIntentenum.
Updates all selectors with the current simulation settings.
New in version 3.0.