Function

GtkColorSelectionset_change_palette_with_screen_hook

since: 2.2

Declaration [src]

GtkColorSelectionChangePaletteWithScreenFunc
gtk_color_selection_set_change_palette_with_screen_hook (
  GtkColorSelectionChangePaletteWithScreenFunc func
)

Description [src]

Installs a global function to be called whenever the user tries to modify the palette in a color selection.

This function should save the new palette contents, and update the GtkSettings:gtk-color-palette GtkSettings property so all GtkColorSelection widgets will be modified.

Available since: 2.2

This function is not directly available to language bindings.

Parameters

func

Type: GtkColorSelectionChangePaletteWithScreenFunc

A function to call when the custom palette needs saving.

Return value

Type: GtkColorSelectionChangePaletteWithScreenFunc

The previous change palette hook (that was replaced)