API Reference / @gtkx/runtime / getObjectProperty
Function: getObjectProperty()
getObjectProperty(
obj,propertyName,descriptor):unknown
Defined in: runtime/dist/object.d.ts:20
Reads a GObject property and converts it to its JavaScript value using the descriptor.
Parameters
obj
object
The object to read from.
propertyName
string
The property name.
descriptor
Describes the property's type.
Returns
unknown