GMenu.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 GMenu.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:

GMenu.TreeDirectory

get_tree()
Returns:

The GMenu.Tree

Return type:

GMenu.Tree

Grab the tree associated with a #GMenuTreeItem.

iter()
Returns:

A new iterator over the directory contents

Return type:

GMenu.TreeIter

make_path(entry)
Parameters:

entry (GMenu.TreeEntry) –

Return type:

str