Tree
Directory
constructor
name
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
GJS API Reference
GMenu-3.0
GMenu
TreeDirectory
Class TreeDirectory
Hierarchy
TreeDirectory
Index
Constructors
constructor
Properties
name
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
Constructors
constructor
new
Tree
Directory
(
)
:
TreeDirectory
Returns
TreeDirectory
Properties
Static
name
name
:
string
Methods
get_
comment
get_
comment
(
)
:
string
Returns
string
get_
desktop_
file_
path
get_
desktop_
file_
path
(
)
:
string
Returns
string
get_
generic_
name
get_
generic_
name
(
)
:
string
Returns
string
get_
icon
get_
icon
(
)
:
Gio
.
Icon
Gets the icon for the directory.
Returns
Gio
.
Icon
get_
is_
nodisplay
get_
is_
nodisplay
(
)
:
boolean
Returns
boolean
get_
menu_
id
get_
menu_
id
(
)
:
string
Returns
string
get_
name
get_
name
(
)
:
string
Returns
string
get_
parent
get_
parent
(
)
:
TreeDirectory
Returns
TreeDirectory
get_
tree
get_
tree
(
)
:
GMenu
.
Tree
Grab the tree associated with a #GMenuTreeItem.
Returns
GMenu
.
Tree
iter
iter
(
)
:
GMenu
.
TreeIter
Returns
GMenu
.
TreeIter
make_
path
make_
path
(
entry
:
GMenu
.
TreeEntry
)
:
string
Parameters
entry:
GMenu
.
TreeEntry
Returns
string
Tree
Directory
constructor
name
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
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHTWVudV8zXzAuR01lbnUuVHJlZURpcmVjdG9yeS5odG1s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