garcon-menu-node

garcon-menu-node

Functions

Properties

GarconMenuNodeType node-type Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GarconMenuNode

Description

Functions

garcon_menu_node_new ()

GarconMenuNode *
garcon_menu_node_new (GarconMenuNodeType node_type);

garcon_menu_node_get_node_type ()

GarconMenuNodeType
garcon_menu_node_get_node_type (GarconMenuNode *node);

garcon_menu_node_create ()

GarconMenuNode *
garcon_menu_node_create (GarconMenuNodeType node_type,
                         gpointer first_value,
                         ...);

Parameters

node_type

a GarconMenuNodeType

 

garcon_menu_node_copy ()

GarconMenuNode *
garcon_menu_node_copy (GarconMenuNode *node,
                       gpointer data);

Parameters

node

a GarconMenuNode

 

garcon_menu_node_get_string ()

const gchar *
garcon_menu_node_get_string (GarconMenuNode *node);

garcon_menu_node_set_string ()

void
garcon_menu_node_set_string (GarconMenuNode *node,
                             const gchar *value);

garcon_menu_node_get_merge_file_type ()

GarconMenuMergeFileType
garcon_menu_node_get_merge_file_type (GarconMenuNode *node);

garcon_menu_node_set_merge_file_type ()

void
garcon_menu_node_set_merge_file_type (GarconMenuNode *node,
                                      GarconMenuMergeFileType type);

garcon_menu_node_get_merge_file_filename ()

const gchar *
garcon_menu_node_get_merge_file_filename
                               (GarconMenuNode *node);

garcon_menu_node_set_merge_file_filename ()

void
garcon_menu_node_set_merge_file_filename
                               (GarconMenuNode *node,
                                const gchar *filename);

garcon_menu_node_tree_get_child_node ()

GNode *
garcon_menu_node_tree_get_child_node (GNode *tree,
                                      GarconMenuNodeType type,
                                      gboolean reverse);

[skip]

Parameters

tree

GNode instance

 

type

type for the menu nodes

 

Returns

a GNode if type is valid menu nodes type.


garcon_menu_node_tree_get_child_nodes ()

GList *
garcon_menu_node_tree_get_child_nodes (GNode *tree,
                                       GarconMenuNodeType type,
                                       gboolean reverse);

Parameters

tree

a GNode

 

type

type for the menu nodes

 

Returns

list of GNode.

[element-type GNode][transfer full]


garcon_menu_node_tree_get_string_children ()

GList *
garcon_menu_node_tree_get_string_children
                               (GNode *tree,
                                GarconMenuNodeType type,
                                gboolean reverse);

Parameters

tree

a GNode instance

 

type

type for the menu nodes

 

Returns

list of GNode.

[element-type GNode][transfer full]


garcon_menu_node_tree_get_boolean_child ()

gboolean
garcon_menu_node_tree_get_boolean_child
                               (GNode *tree,
                                GarconMenuNodeType type);

garcon_menu_node_tree_get_string_child ()

const gchar *
garcon_menu_node_tree_get_string_child
                               (GNode *tree,
                                GarconMenuNodeType type);

garcon_menu_node_tree_rule_matches ()

gboolean
garcon_menu_node_tree_rule_matches (GNode *tree,
                                    GarconMenuItem *item);

garcon_menu_node_tree_get_node_type ()

GarconMenuNodeType
garcon_menu_node_tree_get_node_type (GNode *tree);

garcon_menu_node_tree_get_string ()

const gchar *
garcon_menu_node_tree_get_string (GNode *tree);

garcon_menu_node_tree_set_string ()

void
garcon_menu_node_tree_set_string (GNode *tree,
                                  const gchar *value);

garcon_menu_node_tree_get_layout_merge_type ()

GarconMenuLayoutMergeType
garcon_menu_node_tree_get_layout_merge_type
                               (GNode *tree);

garcon_menu_node_tree_get_merge_file_type ()

GarconMenuMergeFileType
garcon_menu_node_tree_get_merge_file_type
                               (GNode *tree);

garcon_menu_node_tree_get_merge_file_filename ()

const gchar *
garcon_menu_node_tree_get_merge_file_filename
                               (GNode *tree);

garcon_menu_node_tree_set_merge_file_filename ()

void
garcon_menu_node_tree_set_merge_file_filename
                               (GNode *tree,
                                const gchar *filename);

garcon_menu_node_tree_compare ()

gint
garcon_menu_node_tree_compare (GNode *tree,
                               GNode *other_tree);

garcon_menu_node_tree_copy ()

GNode *
garcon_menu_node_tree_copy (GNode *tree);

Recursively copies a GNode.

[skip]

Parameters

tree

a GNode

 

garcon_menu_node_tree_free ()

void
garcon_menu_node_tree_free (GNode *tree);

garcon_menu_node_tree_free_data ()

void
garcon_menu_node_tree_free_data (GNode *tree);

Types and Values

enum GarconMenuLayoutMergeType

Members

GARCON_MENU_LAYOUT_MERGE_MENUS

   

GARCON_MENU_LAYOUT_MERGE_FILES

   

GARCON_MENU_LAYOUT_MERGE_ALL

   

enum GarconMenuMergeFileType

Members

GARCON_MENU_MERGE_FILE_PATH

   

GARCON_MENU_MERGE_FILE_PARENT

   

GarconMenuNodeData

Property Details

The “node-type” property

  “node-type”                GarconMenuNodeType

node-type.

Owner: GarconMenuNode

Flags: Read / Write

Default value: GARCON_MENU_NODE_TYPE_MENU