Gee.List

g GObject.GInterface GObject.GInterface Gee.List Gee.List GObject.GInterface->Gee.List

Implementations:

Gee.AbstractList

Methods

class

empty (g_type, g_dup_func, g_destroy_func)

first ()

get (index)

get_read_only_view ()

index_of (item)

insert (index, item)

insert_all (index, collection)

last ()

list_iterator ()

remove_at (index)

set (index, item)

slice (start, stop)

sort (compare_func, *compare_func_target)

Virtual Methods

do_first ()

do_get (index)

do_get_read_only_view ()

do_index_of (item)

do_insert (index, item)

do_insert_all (index, collection)

do_last ()

do_list_iterator ()

do_remove_at (index)

do_set (index, item)

do_slice (start, stop)

do_sort (compare_func, compare_func_target)

Properties

Name

Type

Flags

Short Description

read-only-view

Gee.List

r

read-only-view

Signals

None

Fields

None

Class Details

class Gee.List
Bases:

GObject.GInterface

Structure:

Gee.ListIface

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

Gee.List

first()
Return type:

object or None

get(index)
Parameters:

index (int) –

Return type:

object or None

get_read_only_view()
Return type:

Gee.List

index_of(item)
Parameters:

item (object or None) –

Return type:

int

insert(index, item)
Parameters:
insert_all(index, collection)
Parameters:
last()
Return type:

object or None

list_iterator()
Return type:

Gee.ListIterator

remove_at(index)
Parameters:

index (int) –

Return type:

object or None

set(index, item)
Parameters:
slice(start, stop)
Parameters:
  • start (int) –

  • stop (int) –

Return type:

Gee.List or None

sort(compare_func, *compare_func_target)
Parameters:
do_first() virtual
Return type:

object or None

do_get(index) virtual
Parameters:

index (int) –

Return type:

object or None

do_get_read_only_view() virtual
Return type:

Gee.List

do_index_of(item) virtual
Parameters:

item (object or None) –

Return type:

int

do_insert(index, item) virtual
Parameters:
do_insert_all(index, collection) virtual
Parameters:
do_last() virtual
Return type:

object or None

do_list_iterator() virtual
Return type:

Gee.ListIterator

do_remove_at(index) virtual
Parameters:

index (int) –

Return type:

object or None

do_set(index, item) virtual
Parameters:
do_slice(start, stop) virtual
Parameters:
  • start (int) –

  • stop (int) –

Return type:

Gee.List or None

do_sort(compare_func, compare_func_target) virtual
Parameters:

Property Details

Gee.List.props.read_only_view
Name:

read-only-view

Type:

Gee.List

Default Value:

None

Flags:

READABLE

read-only-view