GLib.Value – gobject-2.0 Reference Manual
Packages
gobject-2.0
GLib
Value
register_transform_func
type_compatible
type_transformable
Value
copy
dup_boxed
dup_object
dup_param
dup_string
dup_variant
fits_pointer
get_boolean
get_boxed
get_char
get_double
get_enum
get_flags
get_float
get_gtype
get_int
get_int64
get_long
get_object
get_param
get_pointer
get_schar
get_string
get_uchar
get_uint
get_uint64
get_ulong
get_variant
holds
init
init_from_instance
param_take_ownership
peek_pointer
reset
set_boolean
set_boxed
set_char
set_double
set_enum
set_flags
set_float
set_gtype
set_instance
set_int
set_int64
set_long
set_object
set_param
set_pointer
set_schar
set_static_string
set_string
set_uchar
set_uint
set_uint64
set_ulong
set_variant
strdup_contents
take_boxed
take_object
take_param
take_string
take_variant
transform
type
type_name
unset
Value
Object Hierarchy:
Description:
public
struct
Value
Namespace:
GLib
Package:
gobject-2.0
Content:
Static methods:
public
static
void
register_transform_func
(
Type
src_type,
Type
dest_type,
ValueTransform
transform_func)
public
static
bool
type_compatible
(
Type
src_type,
Type
dest_type)
public
static
bool
type_transformable
(
Type
src_type,
Type
dest_type)
Creation methods:
public
Value
(
Type
g_type)
Methods:
public
void
copy
(
ref
Value
dest_value)
public
void
*
dup_boxed
()
public
ParamSpec
dup_param
()
public
Object
dup_object
()
public
string
dup_string
()
public
Variant
?
dup_variant
()
public
bool
fits_pointer
()
public
bool
get_boolean
()
public
void
*
get_boxed
()
public
char
get_char
()
public
double
get_double
()
public
int
get_enum
()
public
uint
get_flags
()
public
float
get_float
()
public
Type
get_gtype
()
public
int
get_int
()
public
int64
get_int64
()
public
long
get_long
()
public
weak
Object
get_object
()
public
weak
ParamSpec
get_param
()
public
void
*
get_pointer
()
public
int8
get_schar
()
public
unowned
string
get_string
()
public
uchar
get_uchar
()
public
uint
get_uint
()
public
uint64
get_uint64
()
public
ulong
get_ulong
()
public
Variant
?
get_variant
()
public
bool
holds
(
Type
type)
public
unowned
Value
?
init
(
Type
g_type)
public
void
init_from_instance
(
void
* instance)
public
void
param_take_ownership
(
out
ParamSpec
param)
public
void
*
peek_pointer
()
public
unowned
Value
?
reset
()
public
void
set_boolean
(
bool
v_boolean)
public
void
set_boxed
(
void
* v_boxed)
public
void
set_char
(
char
v_char)
public
void
set_double
(
double
v_double)
public
void
set_enum
(
int
v_enum)
public
void
set_flags
(
uint
v_flags)
public
void
set_float
(
float
v_float)
public
void
set_gtype
(
Type
v_gtype)
public
void
set_instance
(
void
* instance)
public
void
set_int
(
int
v_int)
public
void
set_int64
(
int64
v_int64)
public
void
set_long
(
long
v_long)
public
void
set_object
(
Object
? v_object)
public
void
set_param
(
ParamSpec
? param)
public
void
set_pointer
(
void
* v_pointer)
public
void
set_schar
(
int8
v_char)
public
void
set_static_string
(
string
? v_string)
public
void
set_string
(
string
? v_string)
public
void
set_uchar
(
uchar
v_uchar)
public
void
set_uint
(
uint
v_uint)
public
void
set_uint64
(
uint64
v_uint64)
public
void
set_ulong
(
ulong
v_ulong)
public
void
set_variant
(
Variant
? variant)
public
string
strdup_contents
()
public
void
take_boxed
(
void
* v_boxed)
public
void
take_object
(
owned
Object
? v_object)
public
void
take_param
(
owned
ParamSpec
? param)
public
void
take_string
(
owned
string
? v_string)
public
void
take_variant
(
owned
Variant
? variant)
public
bool
transform
(
ref
Value
dest_value)
public
Type
type
()
public
unowned
string
type_name
()
public
void
unset
()