ColorSelection.setChangePaletteWithScreenHook

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.

Parameters

func GtkColorSelectionChangePaletteWithScreenFunc

a function to call when the custom palette needs saving

Return: the previous change palette hook (that was replaced)

Meta