|  |  |  | GIMP Widgets Library Reference Manual |  | 
|---|---|---|---|---|
| GimpColorNotebookGimpColorNotebook — A GimpColorSelector implementation. | 
            GimpColorNotebook;
GtkWidget*  gimp_color_notebook_set_has_page
                                            (GimpColorNotebook *notebook,
                                             GType page_type,
                                             gboolean has_page);
  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkVBox
                                       +----GimpColorSelector
                                             +----GimpColorNotebook
The GimpColorNotebook widget is an implementation of a GimpColorSelector. It serves as a container for GimpColorSelectors.
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_pagewas TRUE, or NULL
              ifhas_pagewas FALSE. |