GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
menu.Menu Class Reference
Inheritance diagram for menu.Menu:
Collaboration diagram for menu.Menu:

Public Member Functions

def __init__
 Creates menubar. More...
 
def GetData
 Get menu data. More...
 
def GetCmd
 Get list of commands. More...
 
def OnMenuHighlight
 

Data Fields

 parent
 
 menudata
 
 menucmd
 
 menustyle
 

Detailed Description

Definition at line 33 of file menu.py.

Constructor & Destructor Documentation

def menu.Menu.__init__ (   self,
  parent,
  data 
)

Creates menubar.

Definition at line 34 of file menu.py.

Member Function Documentation

def menu.Menu.GetCmd (   self)

Get list of commands.

Returns
list of commands

Definition at line 106 of file menu.py.

References menu.Menu.menucmd.

Referenced by wxnviz.ImageTexture.Corresponds().

def menu.Menu.GetData (   self)

Get menu data.

Definition at line 102 of file menu.py.

References menu.Menu.menudata.

def menu.Menu.OnMenuHighlight (   self,
  event 
)
Default menu help handler

Definition at line 113 of file menu.py.

Field Documentation

menu.Menu.menucmd

Definition at line 39 of file menu.py.

Referenced by menu.Menu.GetCmd(), and frame.GMFrame.GetMenuCmd().

menu.Menu.menudata

Definition at line 38 of file menu.py.

Referenced by menu.Menu.GetData(), and menu.MenuTree.Load().

menu.Menu.menustyle

Definition at line 41 of file menu.py.


The documentation for this class was generated from the following file: