Dazzle.Path

g Dazzle.Path Dazzle.Path GObject.Object GObject.Object GObject.Object->Dazzle.Path

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

append (element)

get_element (index)

get_elements ()

get_length ()

has_prefix (prefix)

is_empty ()

prepend (element)

printf ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Dazzle.Path(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Dazzle.PathClass

classmethod new()
Return type:

Dazzle.Path

append(element)
Parameters:

element (Dazzle.PathElement) –

get_element(index)
Parameters:

index (int) –

Returns:

An Dazzle.PathElement.

Return type:

Dazzle.PathElement or None

Gets the path element found at index.

Indexes start from zero.

get_elements()
Returns:

The elements of the path.

Return type:

[Dazzle.PathElement]

get_length()
Return type:

int

has_prefix(prefix)
Parameters:

prefix (Dazzle.Path) –

Return type:

bool

is_empty()
Return type:

bool

prepend(element)
Parameters:

element (Dazzle.PathElement) –

printf()
Return type:

str