CMenu.TreeDirectory

Fields

None

Methods

get_comment ()

get_desktop_file_path ()

get_generic_name ()

get_icon ()

get_is_nodisplay ()

get_menu_id ()

get_name ()

get_parent ()

get_tree ()

iter ()

make_path (entry)

Details

class CMenu.TreeDirectory
get_comment()
Return type:

str

get_desktop_file_path()
Return type:

str

get_generic_name()
Return type:

str

get_icon()
Returns:

The Gio.Icon for this directory

Return type:

Gio.Icon

Gets the icon for the directory.

get_is_nodisplay()
Return type:

bool

get_menu_id()
Return type:

str

get_name()
Return type:

str

get_parent()
Returns:

The parent directory, or None if none

Return type:

CMenu.TreeDirectory

get_tree()
Returns:

The CMenu.Tree

Return type:

CMenu.Tree

Grab the tree associated with a #GMenuTreeItem.

iter()
Returns:

A new iterator over the directory contents

Return type:

CMenu.TreeIter

make_path(entry)
Parameters:

entry (CMenu.TreeEntry) –

Return type:

str