Gee.PriorityQueue

g GObject.GInterface GObject.GInterface Gee.Collection Gee.Collection GObject.GInterface->Gee.Collection Gee.Iterable Gee.Iterable GObject.GInterface->Gee.Iterable Gee.Queue Gee.Queue GObject.GInterface->Gee.Queue Gee.Traversable Gee.Traversable GObject.GInterface->Gee.Traversable GObject.Object GObject.Object Gee.AbstractCollection Gee.AbstractCollection GObject.Object->Gee.AbstractCollection Gee.AbstractQueue Gee.AbstractQueue Gee.AbstractCollection->Gee.AbstractQueue Gee.PriorityQueue Gee.PriorityQueue Gee.AbstractQueue->Gee.PriorityQueue Gee.Collection->Gee.AbstractCollection Gee.Iterable->Gee.AbstractCollection Gee.Queue->Gee.AbstractQueue Gee.Traversable->Gee.AbstractCollection

Subclasses:

None

Methods

Inherited:

Gee.AbstractQueue (15), Gee.AbstractCollection (19), GObject.Object (37), Gee.Traversable (16), Gee.Iterable (1), Gee.Collection (20), Gee.Queue (7)

Structs:

GObject.ObjectClass (5)

class

new (g_type, g_dup_func, g_destroy_func, compare_func, *compare_func_target)

drain (recipient, amount)

offer (element)

Virtual Methods

Inherited:

Gee.AbstractQueue (15), Gee.AbstractCollection (19), GObject.Object (7), Gee.Traversable (16), Gee.Iterable (1), Gee.Collection (19), Gee.Queue (7)

Properties

Inherited:

Gee.AbstractCollection (3), Gee.Collection (3), Gee.Queue (3)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Gee.AbstractQueue

r

Class Details

class Gee.PriorityQueue(**kwargs)
Bases:

Gee.AbstractQueue

Abstract:

No

Structure:

Gee.PriorityQueueClass

classmethod new(g_type, g_dup_func, g_destroy_func, compare_func, *compare_func_target)
Parameters:
Return type:

Gee.PriorityQueue

drain(recipient, amount)
Parameters:
Return type:

int

offer(element)
Parameters:

element (object or None) –

Return type:

bool