GLib.GenericArray – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
GenericArray
length
GenericArray
@foreach
@get
@set
_sort_with_data
add
remove
remove_fast
remove_index
remove_index_fast
remove_range
sort
sort_with_data
data
GenericArray
Object Hierarchy:
Description:
[
Compact
]
public
class
GenericArray
<
G
>
Namespace:
GLib
Package:
glib-2.0
Content:
Properties:
public
int
length
{
set
;
get
; }
Creation methods:
public
GenericArray
()
Methods:
public
void
add
(
owned
G
data)
public
void
@foreach
(
Func
<
G
> func)
public
weak
G
@get
(
uint
index)
public
bool
remove
(
G
data)
public
void
remove_index
(
uint
index)
public
bool
remove_fast
(
G
data)
public
void
remove_index_fast
(
uint
index)
public
void
remove_range
(
uint
index,
uint
length)
public
void
@set
(
uint
index,
owned
G
data)
public
void
sort
(
CompareFunc
<
G
> compare_func)
public
void
_sort_with_data
(
CompareDataFunc
<
weak
G
**> compare_func)
public
void
sort_with_data
(
CompareDataFunc
<
G
> compare_func)
Fields:
public
G
[]
data