GimpColorNotebook

GimpColorNotebook — A GimpColorSelector implementation.

Synopsis

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

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GimpColorSelector
                                       +----GimpColorNotebook

Implemented Interfaces

GimpColorNotebook implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Style Properties

  "tab-border"               gint                  : Read
  "tab-icon-size"            GtkIconSize           : Read

Description

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

Details

GimpColorNotebook

typedef struct _GimpColorNotebook GimpColorNotebook;


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.

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.

Style Property Details

The "tab-border" style property

  "tab-border"               gint                  : Read

Width of the border around the tab contents.

Allowed values: >= 0

Default value: 0


The "tab-icon-size" style property

  "tab-icon-size"            GtkIconSize           : Read

Size for icons displayed in the tab.

Default value: GTK_ICON_SIZE_BUTTON