Garcon.MenuNode

g GObject.Object GObject.Object Garcon.MenuNode Garcon.MenuNode GObject.Object->Garcon.MenuNode

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (node_type)

class

tree_compare (tree, other_tree)

class

tree_free (tree)

class

tree_free_data (tree)

class

tree_get_boolean_child (tree, type)

class

tree_get_child_nodes (tree, type, reverse)

class

tree_get_layout_merge_type (tree)

class

tree_get_merge_file_filename (tree)

class

tree_get_merge_file_type (tree)

class

tree_get_node_type (tree)

class

tree_get_string (tree)

class

tree_get_string_child (tree, type)

class

tree_get_string_children (tree, type, reverse)

class

tree_rule_matches (tree, item)

class

tree_set_merge_file_filename (tree, filename)

class

tree_set_string (tree, value)

copy (data)

get_merge_file_filename ()

get_merge_file_type ()

get_node_type ()

get_string ()

set_merge_file_filename (filename)

set_merge_file_type (type)

set_string (value)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

node-type

Garcon.MenuNodeType

r/w

node-type

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Garcon.MenuNode(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Garcon.MenuNodeClass

classmethod new(node_type)
Parameters:

node_type (Garcon.MenuNodeType) –

Return type:

Garcon.MenuNode

classmethod tree_compare(tree, other_tree)
Parameters:
Return type:

int

classmethod tree_free(tree)
Parameters:

tree (GLib.Node) –

classmethod tree_free_data(tree)
Parameters:

tree (GLib.Node) –

classmethod tree_get_boolean_child(tree, type)
Parameters:
Return type:

bool

classmethod tree_get_child_nodes(tree, type, reverse)
Parameters:
Returns:

list of GLib.Node

Return type:

[GLib.Node]

classmethod tree_get_layout_merge_type(tree)
Parameters:

tree (GLib.Node) –

Return type:

Garcon.MenuLayoutMergeType

classmethod tree_get_merge_file_filename(tree)
Parameters:

tree (GLib.Node) –

Return type:

str

classmethod tree_get_merge_file_type(tree)
Parameters:

tree (GLib.Node) –

Return type:

Garcon.MenuMergeFileType

classmethod tree_get_node_type(tree)
Parameters:

tree (GLib.Node) –

Return type:

Garcon.MenuNodeType

classmethod tree_get_string(tree)
Parameters:

tree (GLib.Node) –

Return type:

str

classmethod tree_get_string_child(tree, type)
Parameters:
Return type:

str

classmethod tree_get_string_children(tree, type, reverse)
Parameters:
Returns:

list of GLib.Node

Return type:

[GLib.Node]

classmethod tree_rule_matches(tree, item)
Parameters:
Return type:

bool

classmethod tree_set_merge_file_filename(tree, filename)
Parameters:
classmethod tree_set_string(tree, value)
Parameters:
copy(data)
Parameters:

data (object or None) –

Returns:

a Garcon.MenuNode

Return type:

Garcon.MenuNode

get_merge_file_filename()
Return type:

str

get_merge_file_type()
Return type:

Garcon.MenuMergeFileType

get_node_type()
Return type:

Garcon.MenuNodeType

get_string()
Return type:

str

set_merge_file_filename(filename)
Parameters:

filename (str) –

set_merge_file_type(type)
Parameters:

type (Garcon.MenuMergeFileType) –

set_string(value)
Parameters:

value (str) –

Property Details

Garcon.MenuNode.props.node_type
Name:

node-type

Type:

Garcon.MenuNodeType

Default Value:

Garcon.MenuNodeType.MENU

Flags:

READABLE, WRITABLE

node-type