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