get
fun <T> get(address: <Error class: unknown class>, cache: Boolean, fallback: (<Error class: unknown class>) -> T?): T?(source)
Retrieves a T instance for the given gpointer.
- If the instance exists in the cache, it is returned. 
- Otherwise, a new instance is created via TypeCache. 
- If the object is a GObject, it is stored in the cache. 
Return
The retrieved or newly created instance of T, or null if the type is unknown.
Parameters
T
The expected type of the retrieved instance, which must extend Proxy.
address
Pointer to the native object.
cache
If true, the new instance will be cached if applicable.
fallback
Optional constructor if the type is unknown.