MateMenu.TreeIter

Fields

None

Methods

get_alias ()

get_directory ()

get_entry ()

get_header ()

get_separator ()

next ()

Details

class MateMenu.TreeIter
get_alias()
Returns:

An alias

Return type:

MateMenu.TreeAlias

This method may only be called if MateMenu.TreeIter.next() returned MateMenu.TreeItemType.ALIAS.

get_directory()
Returns:

A directory

Return type:

MateMenu.TreeDirectory

This method may only be called if MateMenu.TreeIter.next() returned MateMenu.TreeItemType.DIRECTORY.

get_entry()
Returns:

An entry

Return type:

MateMenu.TreeEntry

This method may only be called if MateMenu.TreeIter.next() returned MateMenu.TreeItemType.ENTRY.

get_header()
Returns:

A header

Return type:

MateMenu.TreeHeader

This method may only be called if MateMenu.TreeIter.next() returned MateMenu.TreeItemType.HEADER.

get_separator()
Returns:

A separator

Return type:

MateMenu.TreeSeparator

This method may only be called if MateMenu.TreeIter.next() returned MateMenu.TreeItemType.SEPARATOR.

next()
Returns:

The type of the next item that can be retrived from the iterator

Return type:

MateMenu.TreeItemType

Change the iterator to the next item, and return its type. If there are no more items, MateMenu.TreeItemType.INVALID is returned.