lookup_property
Description:
[ Version ( deprecated = true , deprecated_since = "3.8" , since = "3.0" ) ]
public static bool lookup_property (string property_name, out StylePropertyParser parse_func, out unowned ParamSpec pspec)
public static bool lookup_property (string property_name, out StylePropertyParser parse_func, out unowned ParamSpec pspec)
Warning: lookup_property is deprecated since 3.8.
Returns true if a property has been registered, if pspec
or parse_func
are not
null, the ParamSpec and parsing function will be
respectively returned.
Note:
This code could only look up custom properties and those are deprecated.
Parameters:
property_name |
property name to look up |
parse_func |
return location for the parse function |
pspec |
return location for the ParamSpec |
Returns:
true if the property is registered, false otherwise |