GRASS Programmer's Manual  6.4.4(2014)-r
toolbars.PsMapToolbar Class Reference
Inheritance diagram for toolbars.PsMapToolbar:
Collaboration diagram for toolbars.PsMapToolbar:

Public Member Functions

def __init__ (self, parent)
 Toolbar Cartographic Composer (psmap.py) More...
 
def OnDecoration (self, event)
 Decorations overlay menu. More...
 
def OnDrawGraphics (self, event)
 Simple geometry features (point, line, rectangle) overlay menu. More...
 
- Public Member Functions inherited from toolbars.BaseToolbar
def __init__ (self, parent)
 
def InitToolbar (self, toolData)
 Initialize toolbar, add tools to the toolbar. More...
 
def CreateTool
 Add tool to the toolbar. More...
 
def EnableLongHelp
 Enable/disable long help. More...
 
def OnTool (self, event)
 Tool selected. More...
 
def GetAction
 Get current action info. More...
 
def SelectDefault (self, event)
 Select default tool. More...
 
def FixSize (self, width)
 Fix toolbar width on Windows. More...
 
def Enable
 Enable defined tool. More...
 

Data Fields

 action
 
 defaultAction
 
 icons
 
 actionOld
 
- Data Fields inherited from toolbars.BaseToolbar
 parent
 
 action
 

Detailed Description

Definition at line 26 of file psmap/toolbars.py.

Constructor & Destructor Documentation

def toolbars.PsMapToolbar.__init__ (   self,
  parent 
)

Member Function Documentation

def toolbars.PsMapToolbar.OnDecoration (   self,
  event 
)

Decorations overlay menu.

Definition at line 142 of file psmap/toolbars.py.

References toolbars.BaseToolbar._onMenu(), and toolbars.PsMapToolbar.icons.

def toolbars.PsMapToolbar.OnDrawGraphics (   self,
  event 
)

Simple geometry features (point, line, rectangle) overlay menu.

Definition at line 152 of file psmap/toolbars.py.

Field Documentation

toolbars.PsMapToolbar.action

Definition at line 38 of file psmap/toolbars.py.

toolbars.PsMapToolbar.actionOld

Definition at line 156 of file psmap/toolbars.py.

toolbars.PsMapToolbar.defaultAction

Definition at line 39 of file psmap/toolbars.py.

Referenced by toolbars.BaseToolbar.SelectDefault().

toolbars.PsMapToolbar.icons

Definition at line 95 of file psmap/toolbars.py.

Referenced by toolbars.PsMapToolbar.OnDecoration().


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