GMenu.TreeIter¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
Details¶
- class GMenu.TreeIter¶
- get_alias()¶
- Returns:
An alias
- Return type:
This method may only be called if
GMenu.TreeIter.next
() returnedGMenu.TreeItemType.ALIAS
.
- get_directory()¶
- Returns:
A directory
- Return type:
This method may only be called if
GMenu.TreeIter.next
() returnedGMenu.TreeItemType.DIRECTORY
.
- get_entry()¶
- Returns:
An entry
- Return type:
This method may only be called if
GMenu.TreeIter.next
() returnedGMenu.TreeItemType.ENTRY
.
- get_header()¶
- Returns:
A header
- Return type:
This method may only be called if
GMenu.TreeIter.next
() returnedGMenu.TreeItemType.HEADER
.
- get_separator()¶
- Returns:
A separator
- Return type:
This method may only be called if
GMenu.TreeIter.next
() returnedGMenu.TreeItemType.SEPARATOR
.
- next()¶
- Returns:
The type of the next item that can be retrived from the iterator
- Return type:
Change the iterator to the next item, and return its type. If there are no more items,
GMenu.TreeItemType.INVALID
is returned.