Method
MateMenuTreeget_root_directory
Declaration [src]
MateMenuTreeDirectory*
matemenu_tree_get_root_directory (
MateMenuTree* tree
)
Description [src]
Get the root directory; you must have loaded the tree first (at
least once) via matemenu_tree_load_sync() or a variant thereof.
Return value
Type: MateMenuTreeDirectory
Root of the tree.
| The caller of the method takes ownership of the data, and is responsible for freeing it. |