GObject.Object.interface_list_properties

function interface_list_properties(g_iface: void): [return_value: Array(GObject.ParamSpec), n_properties_p: Number(guint)] {
    // Gjs wrapper for g_object_interface_list_properties()
}
  

Lists the properties of 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

return_value

a pointer to an array of pointers to GObject.ParamSpec structures. The paramspecs are owned by GLib, but the array should be freed with GLib.free when you are done with it.

n_properties_p

location to store number of properties returned.