Class

MateMenuTree

unstable since: 2.0

Description

final class MateMenu.Tree : GObject.Object
{
  /* No available fields */
}
No description available.

Available since: 2.0

Ancestors

Constructors

matemenu_tree_new
No description available.

unstable since: 2.0

matemenu_tree_new_for_path
No description available.

unstable since: 2.0

Functions

matemenu_tree_item_ref
No description available.

unstable since: 2.0

matemenu_tree_item_unref
No description available.

unstable since: 2.0

Instance methods

matemenu_tree_get_canonical_menu_path

This function is only available if the tree has been loaded via matemenu_tree_load_sync() or a variant thereof.

unstable since: 2.0

matemenu_tree_get_directory_from_path
No description available.

unstable since: 2.0

matemenu_tree_get_entry_by_id

Look up the entry corresponding to the given “desktop file id”.

unstable since: 2.0

matemenu_tree_get_root_directory

Get the root directory; you must have loaded the tree first (at least once) via matemenu_tree_load_sync() or a variant thereof.

unstable since: 2.0

matemenu_tree_load_sync

Synchronously load the menu contents. This function performs a significant amount of blocking I/O if the tree has not been loaded yet.

unstable since: 2.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

MateMenu.Tree:flags

Flags controlling the content of the menu.

unstable since: 2.0

MateMenu.Tree:menu-basename

The name of the menu file; must be a basename or a relative path. The file will be looked up in $XDG_CONFIG_DIRS/menus/. See the Desktop Menu specification.

unstable since: 2.0

MateMenu.Tree:menu-path

The full path of the menu file. If set, MateMenuTree:menu-basename will get ignored.

unstable since: 2.0

Signals

MateMenu.Tree::changed
No description available.

unstable since: 2.0

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

unstable since: 2.0

Class structure

struct MateMenuTreeClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.