GRASS Programmer's Manual
6.4.2(2012)
|
Map Display toolbar. More...
Public Member Functions | |
def | __init__ |
Map Display constructor. | |
def | OnSelectTool |
Select / enable tool available in tools list. | |
def | ExitToolbars |
def | Enable2D |
Enable/Disable 2D display mode specific tools. | |
![]() | |
def | __init__ |
def | InitToolbar |
Initialize toolbar, add tools to the toolbar. | |
def | CreateTool |
Add tool to the toolbar. | |
def | EnableLongHelp |
Enable/disable long help. | |
def | OnTool |
Tool selected. | |
def | GetAction |
Get current action info. | |
def | SelectDefault |
Select default tool. | |
def | FixSize |
Fix toolbar width on Windows. | |
def | Enable |
Enable defined tool. |
Data Fields | |
mapcontent | |
toolId | |
combo | |
log.WriteCmdLog(_('3D view mode not available')) log.WriteWarning(_('Reason: s') % str(errorMsg)) log.WriteLog(_('Note that the wxGUI\'s 3D view mode is currently disabled ' 'on MS Windows (hopefully this will be fixed soon). | |
comboid | |
action | |
defaultAction | |
![]() | |
parent | |
action |
Map Display toolbar.
Definition at line 191 of file toolbars.py.
def gui_modules.toolbars.MapToolbar.__init__ | ( | self, | |
parent, | |||
mapcontent | |||
) |
Map Display constructor.
parent | reference to MapFrame |
mapcontent | reference to render.Map (registred by MapFrame) |
Definition at line 194 of file toolbars.py.
def gui_modules.toolbars.MapToolbar.Enable2D | ( | self, | |
enabled | |||
) |
Enable/Disable 2D display mode specific tools.
Definition at line 338 of file toolbars.py.
Referenced by gui_modules.toolbars.MapToolbar.OnSelectTool().
def gui_modules.toolbars.MapToolbar.ExitToolbars | ( | self | ) |
Definition at line 332 of file toolbars.py.
Referenced by gui_modules.toolbars.MapToolbar.OnSelectTool().
def gui_modules.toolbars.MapToolbar.OnSelectTool | ( | self, | |
event | |||
) |
Select / enable tool available in tools list.
Definition at line 312 of file toolbars.py.
References gui_modules.toolbars.MapToolbar.Enable2D(), gui_modules.toolbars.MapToolbar.ExitToolbars(), and gui_modules.toolbars.MapToolbar.toolId.
gui_modules.toolbars.MapToolbar.action |
Definition at line 257 of file toolbars.py.
gui_modules.toolbars.MapToolbar.combo |
log.WriteCmdLog(_('3D view mode not available')) log.WriteWarning(_('Reason: s') % str(errorMsg)) log.WriteLog(_('Note that the wxGUI\'s 3D view mode is currently disabled ' 'on MS Windows (hopefully this will be fixed soon).
' 'Please keep an eye out for updated versions of GRASS. ' 'In the meantime you can use "NVIZ" from the File menu.'), wrap = 60)
Definition at line 242 of file toolbars.py.
gui_modules.toolbars.MapToolbar.comboid |
Definition at line 247 of file toolbars.py.
Referenced by gui_modules.toolbars.VDigitToolbar.UpdateListOfLayers().
gui_modules.toolbars.MapToolbar.defaultAction |
Definition at line 258 of file toolbars.py.
Referenced by gui_modules.toolbars.AbstractToolbar.SelectDefault().
gui_modules.toolbars.MapToolbar.mapcontent |
Definition at line 200 of file toolbars.py.
gui_modules.toolbars.MapToolbar.toolId |
Definition at line 207 of file toolbars.py.
Referenced by gui_modules.toolbars.MapToolbar.OnSelectTool().