set_has_page


Description:

[ CCode ( cname = "gimp_color_notebook_set_has_page" ) ]
public unowned Widget set_has_page (Type page_type, bool has_page)

This function adds and removed pages to / from a ColorNotebook.

The page_type passed must be a ColorSelector subtype.

Parameters:

this

A ColorNotebook widget.

page_type

The Type 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.