StyleProperties.getProperty

Gets a style property from props for the given state. When done with value, gobject.value.Value.unset needs to be called to free any allocated memory.

More...
class StyleProperties
bool
getProperty

Parameters

property string

style property name

state gtk.types.StateFlags

state to retrieve the property value for

value gobject.value.Value

return location for the style property value.

Return Value

Type: bool

true if the property exists in props, false otherwise

Detailed Description

Deprecated: #GtkStyleProperties are deprecated.