Function
GtkStylePropertiesregister_property
Declaration [src]
void
gtk_style_properties_register_property (
GtkStylePropertyParser parse_func,
GParamSpec* pspec
)
Description [src]
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.
Available since: | 3.0 |
Deprecated since: | 3.8 |
Code should use the default properties provided by CSS. |
Parameters
parse_func
-
Type:
GtkStylePropertyParser
Parsing function to use, or
NULL
. pspec
-
Type:
GParamSpec
The
GParamSpec
for the new property.The data is owned by the caller of the function.