GObject.Object.interface_find_property
function interface_find_property(g_iface: void, property_name: String): GObject.ParamSpec {
// Gjs wrapper for g_object_interface_find_property()
}
Find the GObject.ParamSpec with the given name for an interface. Generally, the interface vtable passed in as g_iface will be the default vtable from GObject.type_default_interface_ref, or, if you know the interface has already been loaded, GObject.type_default_interface_peek.
Since 2.4
- g_iface
any interface vtable for the interface, or the default vtable for the interface
- property_name
name of a property to lookup.
- Returns
the GObject.ParamSpec for the property of the interface with the name property_name, or null if no such property exists.