GObject
in package
This class holds a pointer to a GObject and manages object lifetime.
Tags
Table of Contents
- __clone() : mixed
- __destruct() : mixed
- ref() : void
- signalConnect() : void
- Connect to a signal on this object.
- unref() : void
- getMarshaler() : Closure|null
Methods
__clone()
public
__clone() : mixed
Return values
mixed —__destruct()
public
__destruct() : mixed
Return values
mixed —ref()
public
ref() : void
Return values
void —signalConnect()
Connect to a signal on this object.
public
signalConnect(string $name, callable $callback) : void
The callback will be triggered every time this signal is issued on this instance.
Parameters
- $name : string
- $callback : callable
Tags
Return values
void —unref()
public
unref() : void
Return values
void —getMarshaler()
private
static getMarshaler(string $name, callable $callback) : Closure|null
Parameters
- $name : string
- $callback : callable