register_property


Description:

[ Version ( deprecated = true , deprecated_since = "3.8" , since = "3.0" ) ]
public static void register_property (StylePropertyParser? parse_func, ParamSpec pspec)

Warning: register_property is deprecated since 3.8.

Registers a property so it can be used in the CSS file format.

Note:

Code should use the default properties provided by CSS.

This function is the low-level equivalent of register_property, if you are implementing a theming engine, you want to use that function instead.

Parameters:

parse_func

parsing function to use, or null

pspec

the ParamSpec for the new property