GValue
in package
Table of Contents
- $pointer : CData
- $struct : CData
- __construct() : mixed
- __destruct() : mixed
- fromEnum() : string
- Turn an enum into a string, if possible
- get() : mixed
- Get the contents of a GValue.
- getType() : int
- set() : void
- Set a GValue.
- setType() : void
- toEnum() : int
- Turn a string into an enum value, if possible
Properties
$pointer
public
CData
$pointer
$struct
private
CData
$struct
Methods
__construct()
public
__construct() : mixed
Return values
mixed —__destruct()
public
__destruct() : mixed
Return values
mixed —fromEnum()
Turn an enum into a string, if possible
public
static fromEnum(int $gtype, int $value) : string
Parameters
- $gtype : int
- $value : int
Tags
Return values
string —get()
Get the contents of a GValue.
public
get() : mixed
Tags
Return values
mixed —The contents of this GValue.
getType()
public
getType() : int
Return values
int —set()
Set a GValue.
public
set(mixed $value) : void
Parameters
- $value : mixed
-
Value to be set.
Tags
Return values
void —setType()
public
setType(int $gtype) : void
Parameters
- $gtype : int
Return values
void —toEnum()
Turn a string into an enum value, if possible
public
static toEnum(int $gtype, mixed $value) : int
Parameters
- $gtype : int
- $value : mixed