set_color_func


Description:

[ CCode ( cname = "hb_paint_funcs_set_color_func" ) ]
public void set_color_func (owned PaintColorFunc func)

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

Parameters:

func

The paint-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