Gtk.StyleContext.prototype.get_property

function get_property(property:String, state:Gtk.StateFlags):void {
    // Gjs wrapper for gtk_style_context_get_property()
}

Gets a style property from context for the given state.

When value is no longer needed, GObject.unset must be called to free any allocated memory.

Since 3.0

property

style property name

state

state to retrieve the property value for