interface_find_property


Description:

public static weak ParamSpec? interface_find_property (TypeInterface g_iface, string property_name)

Find the ParamSpec with the given name for an interface.

Generally, the interface vtable passed in as g_iface will be the default vtable from default_interface_ref, or, if you know the interface has already been loaded, default_interface_peek.

Parameters:

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 ParamSpec for the property of the interface with the name property_name, or null if no such property exists.