Gee.Collection

g GObject.GInterface GObject.GInterface Gee.Collection Gee.Collection GObject.GInterface->Gee.Collection

Implementations:

Gee.AbstractCollection

Methods

class

empty (g_type, g_dup_func, g_destroy_func)

add (item)

add_all (collection)

add_all_array (array)

add_all_iterator (iter)

clear ()

contains (item)

contains_all (collection)

contains_all_array (array)

contains_all_iterator (iter)

get_is_empty ()

get_read_only ()

get_read_only_view ()

get_size ()

remove (item)

remove_all (collection)

remove_all_array (array)

remove_all_iterator (iter)

retain_all (collection)

to_array ()

Virtual Methods

do_add (item)

do_add_all (collection)

do_add_all_array (array)

do_add_all_iterator (iter)

do_clear ()

do_contains (item)

do_contains_all (collection)

do_contains_all_array (array)

do_contains_all_iterator (iter)

do_get_is_empty ()

do_get_read_only ()

do_get_read_only_view ()

do_get_size ()

do_remove (item)

do_remove_all (collection)

do_remove_all_array (array)

do_remove_all_iterator (iter)

do_retain_all (collection)

do_to_array ()

Properties

Name

Type

Flags

Short Description

read-only

bool

r

read-only

read-only-view

Gee.Collection

r

read-only-view

size

int

r

size

Signals

None

Fields

None

Class Details

class Gee.Collection
Bases:

GObject.GInterface

Structure:

Gee.CollectionIface

classmethod empty(g_type, g_dup_func, g_destroy_func)
Parameters:
Return type:

Gee.Collection

add(item)
Parameters:

item (object or None) –

Return type:

bool

add_all(collection)
Parameters:

collection (Gee.Collection) –

Return type:

bool

add_all_array(array)
Parameters:

array ([object]) –

Return type:

bool

add_all_iterator(iter)
Parameters:

iter (Gee.Iterator) –

Return type:

bool

clear()
contains(item)
Parameters:

item (object or None) –

Return type:

bool

contains_all(collection)
Parameters:

collection (Gee.Collection) –

Return type:

bool

contains_all_array(array)
Parameters:

array ([object]) –

Return type:

bool

contains_all_iterator(iter)
Parameters:

iter (Gee.Iterator) –

Return type:

bool

get_is_empty()
Return type:

bool

get_read_only()
Return type:

bool

get_read_only_view()
Return type:

Gee.Collection

get_size()
Return type:

int

remove(item)
Parameters:

item (object or None) –

Return type:

bool

remove_all(collection)
Parameters:

collection (Gee.Collection) –

Return type:

bool

remove_all_array(array)
Parameters:

array ([object]) –

Return type:

bool

remove_all_iterator(iter)
Parameters:

iter (Gee.Iterator) –

Return type:

bool

retain_all(collection)
Parameters:

collection (Gee.Collection) –

Return type:

bool

to_array()
Return type:

[object]

do_add(item) virtual
Parameters:

item (object or None) –

Return type:

bool

do_add_all(collection) virtual
Parameters:

collection (Gee.Collection) –

Return type:

bool

do_add_all_array(array) virtual
Parameters:

array ([object]) –

Return type:

bool

do_add_all_iterator(iter) virtual
Parameters:

iter (Gee.Iterator) –

Return type:

bool

do_clear() virtual
do_contains(item) virtual
Parameters:

item (object or None) –

Return type:

bool

do_contains_all(collection) virtual
Parameters:

collection (Gee.Collection) –

Return type:

bool

do_contains_all_array(array) virtual
Parameters:

array ([object]) –

Return type:

bool

do_contains_all_iterator(iter) virtual
Parameters:

iter (Gee.Iterator) –

Return type:

bool

do_get_is_empty() virtual
Return type:

bool

do_get_read_only() virtual
Return type:

bool

do_get_read_only_view() virtual
Return type:

Gee.Collection

do_get_size() virtual
Return type:

int

do_remove(item) virtual
Parameters:

item (object or None) –

Return type:

bool

do_remove_all(collection) virtual
Parameters:

collection (Gee.Collection) –

Return type:

bool

do_remove_all_array(array) virtual
Parameters:

array ([object]) –

Return type:

bool

do_remove_all_iterator(iter) virtual
Parameters:

iter (Gee.Iterator) –

Return type:

bool

do_retain_all(collection) virtual
Parameters:

collection (Gee.Collection) –

Return type:

bool

do_to_array() virtual
Return type:

[object]

Property Details

Gee.Collection.props.read_only
Name:

read-only

Type:

bool

Default Value:

False

Flags:

READABLE

read-only

Gee.Collection.props.read_only_view
Name:

read-only-view

Type:

Gee.Collection

Default Value:

None

Flags:

READABLE

read-only-view

Gee.Collection.props.size
Name:

size

Type:

int

Default Value:

0

Flags:

READABLE

size