set_custom_palette_color_func


Description:

[ CCode ( cname = "hb_paint_funcs_set_custom_palette_color_func" ) ]
public void set_custom_palette_color_func (owned PaintCustomPaletteColorFunc func)

Sets the custom-palette-color callback on the paint functions struct.

Parameters:

func

The custom-palette-color callback

destroy

Function to call when user_data is no longer needed

funcs

A paint functions struct

user_data

Data to pass to func