Function

GtkStylePropertieslookup_property

deprecated: 3.8 since: 3.0

Declaration [src]

gboolean
gtk_style_properties_lookup_property (
  const gchar* property_name,
  GtkStylePropertyParser* parse_func,
  GParamSpec** pspec
)

Description [src]

Returns TRUE if a property has been registered, if pspec or parse_func are not NULL, the GParamSpec and parsing function will be respectively returned.

Available since: 3.0

Deprecated since: 3.8

This code could only look up custom properties and those are deprecated.

This function is not directly available to language bindings.

Parameters

property_name

Type: const gchar*

Property name to look up.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
parse_func

Type: GtkStylePropertyParser

Return location for the parse function.

The argument will be set by the function.
The caller of the function takes ownership of the returned data, and is responsible for freeing it.
pspec

Type: GParamSpec

Return location for the GParamSpec.

The argument will be set by the function.
The returned data is owned by the function.

Return value

Type: gboolean

TRUE if the property is registered, FALSE otherwise.