GimpColorNotebook

GimpColorNotebook — A GimpColorSelector implementation.

Functions

Style Properties

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── GimpColorSelector
                        ╰── GimpColorNotebook

Implemented Interfaces

GimpColorNotebook implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Description

The GimpColorNotebook widget is an implementation of a GimpColorSelector. It serves as a container for GimpColorSelectors.

Functions

gimp_color_notebook_set_has_page ()

GtkWidget *
gimp_color_notebook_set_has_page (GimpColorNotebook *notebook,
                                  GType page_type,
                                  gboolean has_page);

This function adds and removed pages to / from a GimpColorNotebook. The page_type passed must be a GimpColorSelector subtype.

Parameters

notebook

A GimpColorNotebook widget.

 

page_type

The GType of the notebook page to add or remove.

 

has_page

Whether the page should be added or removed.

 

Returns

The new page widget, if has_page was TRUE, or NULL if has_page was FALSE.

[transfer none]


gimp_color_notebook_get_current_selector ()

GimpColorSelector *
gimp_color_notebook_get_current_selector
                               (GimpColorNotebook *notebook);

Parameters

notebook

A GimpColorNotebook widget.

 

Returns

The active page's GimpColorSelector.

[transfer none]

Since: 3.0


gimp_color_notebook_get_notebook ()

GtkWidget *
gimp_color_notebook_get_notebook (GimpColorNotebook *notebook);

Parameters

notebook

A GimpColorNotebook widget.

 

Returns

The GtkNotebook inside.

[transfer none]

Since: 3.0


gimp_color_notebook_get_selectors ()

GList *
gimp_color_notebook_get_selectors (GimpColorNotebook *notebook);

Parameters

notebook

A GimpColorNotebook widget.

 

Returns

The notebook's list of GimpColorSelector's.

[element-type GimpColorSelector][transfer none]

Since: 3.0

Types and Values

GimpColorNotebook

typedef struct _GimpColorNotebook GimpColorNotebook;

Style Property Details

The “tab-icon-size” style property

  “tab-icon-size”            GtkIconSize

Size for icons displayed in the tab.

Flags: Read

Default value: GTK_ICON_SIZE_BUTTON