StyleProperties.registerProperty

Warning gtk_style_properties_register_property has been deprecated since version 3.8 and should not be used in newly-written code. Code should use the default properties provided by CSS. Registers a property so it can be used in the CSS file format. This function is the low-level equivalent of gtk_theming_engine_register_property(), if you are implementing a theming engine, you want to use that function instead.

class StyleProperties
static
void
registerProperty

Parameters

parseFunc GtkStylePropertyParser

parsing function to use, or NULL

pspec ParamSpec

the GParamSpec for the new property Since 3.0

Meta