GLib.GenericSet – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
GenericSet
length
GenericSet
@foreach
add
contains
get_values
iterator
remove
remove_all
GenericSet
Object Hierarchy:
Description:
[
Version
( since =
"2.32"
) ]
[
Compact
]
public
class
GenericSet
<
T
>
Namespace:
GLib
Package:
glib-2.0
Content:
Properties:
public
uint
length
{
get
; }
Creation methods:
public
GenericSet
(
HashFunc
<
T
>? hash_func,
EqualFunc
<
T
>? equal_func,
DestroyNotify
? always_pass_null_here =
null
)
Methods:
public
void
add
(
owned
T
value)
public
bool
contains
(
T
valule)
public
bool
remove
(
T
value)
public
void
remove_all
()
public
List
<
weak
T
>
get_values
()
public
GenericSetIter
<
T
>
iterator
()
public
void
@foreach
(
Func
<
T
> func)