GLib.TreeNode

Fields

None

Methods

key ()

next ()

previous ()

value ()

Details

class GLib.TreeNode

An opaque type which identifies a specific node in a GLib.Tree.

New in version 2.68.

key()[source]
Returns:

the key at the node.

Return type:

object or None

Gets the key stored at a particular tree node.

New in version 2.68.

next()[source]
Returns:

the next node in the tree

Return type:

GLib.TreeNode or None

Returns the next in-order node of the tree, or None if the passed node was already the last one.

New in version 2.68.

previous()[source]
Returns:

the previous node in the tree

Return type:

GLib.TreeNode or None

Returns the previous in-order node of the tree, or None if the passed node was already the first one.

New in version 2.68.

value()[source]
Returns:

the value at the node.

Return type:

object or None

Gets the value stored at a particular tree node.

New in version 2.68.