set_change_palette_with_screen_hook
Description:
[ Version ( since = "2.2" ) ]
public static unowned ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (ColorSelectionChangePaletteWithScreenFunc func)
public static unowned ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (ColorSelectionChangePaletteWithScreenFunc func)
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 gtk_color_palette GtkSettings property so all GtkColorSelection widgets will be modified.
Parameters:
func |
a function to call when the custom palette needs saving |
Returns:
the previous change palette hook (that was replaced) |