GRASS Programmer's Manual
6.4.3(2013)-r
|
Layer Manager frame with notebook widget for controlling GRASS GIS. More...
Public Member Functions | |
def | __init__ |
def | IsPaneShown |
Check if pane (toolbar, ...) of given name is currently shown. More... | |
def | AddNvizTools |
Add nviz notebook page. More... | |
def | RemoveNvizTools |
Remove nviz notebook page. More... | |
def | WorkspaceChanged |
Update window title. More... | |
def | OnLocationWizard |
Launch location wizard. More... | |
def | OnSettingsChanged |
Here can be functions which have to be called after EVT_SETTINGS_CHANGED. More... | |
def | OnGCPManager |
Launch georectifier module. More... | |
def | OnGModeler |
Launch Graphical Modeler. More... | |
def | OnPsMap |
Launch Cartographic Composer. More... | |
def | OnDone |
def | OnRunModel |
Run model. More... | |
def | OnMapsets |
Launch mapset access dialog. More... | |
def | OnCBPageChanged |
Page in notebook (display) changed. More... | |
def | OnPageChanged |
Page in notebook changed. More... | |
def | OnCBPageClosed |
Page of notebook closed Also close associated map display. More... | |
def | GetLayerTree |
Get current layer tree. More... | |
def | GetLogWindow |
Get widget for command output. More... | |
def | GetMenuCmd |
Get GRASS command from menu item. More... | |
def | RunMenuCmd |
Run command selected from menu. More... | |
def | OnMenuCmd |
Parse command selected from menu. More... | |
def | OnVDigit |
Start vector digitizer. More... | |
def | OnRunScript |
Run script. More... | |
def | OnChangeLocation |
def | OnCreateMapset |
Create new mapset. More... | |
def | OnChangeMapset |
def | OnNewVector |
Create new vector map layer. More... | |
def | OnSystemInfo |
Print system information. More... | |
def | OnAboutGRASS |
Display 'About GRASS' dialog. More... | |
def | OnImportMenu |
Import maps menu (import, link) More... | |
def | OnWorkspaceNew |
Create new workspace file. More... | |
def | OnWorkspaceOpen |
Open file with workspace definition. More... | |
def | LoadWorkspaceFile |
Load layer tree definition stored in GRASS Workspace XML file (gxw) More... | |
def | OnWorkspaceLoadGrcFile |
Load map layers from GRC file (Tcl/Tk GUI) into map layer tree. More... | |
def | OnWorkspaceSaveAs |
Save workspace definition to selected file. More... | |
def | OnWorkspaceSave |
Save file with workspace definition. More... | |
def | SaveToWorkspaceFile |
Save layer tree layout to workspace file. More... | |
def | OnWorkspaceClose |
Close file with workspace definition. More... | |
def | OnDisplayClose |
Close current map display window. More... | |
def | OnDisplayCloseAll |
Close all open map display windows. More... | |
def | OnRenameDisplay |
Change Map Display name. More... | |
def | RulesCmd |
Launches dialog for commands that need rules input and processes rules. More... | |
def | OnXTermNoXMon |
Run commands that need xterm. More... | |
def | OnXTerm |
Run commands that need interactive xmon. More... | |
def | OnEditImageryGroups |
Show dialog for creating and editing groups. More... | |
def | OnInstallExtension |
Install extension from GRASS Addons SVN repository. More... | |
def | OnUninstallExtension |
Uninstall extension. More... | |
def | OnPreferences |
General GUI preferences/settings. More... | |
def | OnHelp |
Show help. More... | |
def | OnHistogram |
Init histogram display canvas and tools. More... | |
def | OnProfile |
Launch profile tool. More... | |
def | OnMapCalculator |
Init map calculator for interactive creation of mapcalc statements. More... | |
def | OnVectorCleaning |
Init interactive vector cleaning. More... | |
def | OnImportDxfFile |
Convert multiple DXF layers to GRASS vector map layers. More... | |
def | OnImportGdalLayers |
Convert multiple GDAL layers to GRASS raster map layers. More... | |
def | OnLinkGdalLayers |
Link multiple GDAL layers to GRASS raster map layers. More... | |
def | OnImportOgrLayers |
Convert multiple OGR layers to GRASS vector map layers. More... | |
def | OnLinkOgrLayers |
Links multiple OGR layers to GRASS vector map layers. More... | |
def | OnImportWMS |
Import data from OGC WMS server. More... | |
def | OnShowAttributeTable |
Show attribute table of the given vector map layer. More... | |
def | OnNewDisplayWMS |
Create new layer tree and map display instance. More... | |
def | OnNewDisplay |
Create new layer tree and map display instance. More... | |
def | NewDisplay |
Create new layer tree, which will create an associated map display frame. More... | |
def | OnAddMaps |
Add selected map layers into layer tree. More... | |
def | OnAddRaster |
Add raster map layer. More... | |
def | OnAddRasterMisc |
Create misc raster popup-menu. More... | |
def | OnAddVector |
Add vector map to the current layer tree. More... | |
def | OnAddVectorMisc |
Create misc vector popup-menu. More... | |
def | OnAddVectorTheme |
Add thematic vector map to the current layer tree. More... | |
def | OnAddVectorChart |
Add chart vector map to the current layer tree. More... | |
def | OnAddOverlay |
Create decoration overlay menu. More... | |
def | OnAddRaster3D |
Add 3D raster map to the current layer tree. More... | |
def | OnAddRasterRGB |
Add RGB raster map to the current layer tree. More... | |
def | OnAddRasterHIS |
Add HIS raster map to the current layer tree. More... | |
def | OnAddRasterShaded |
Add shaded relief raster map to the current layer tree. More... | |
def | OnAddRasterArrow |
Add flow arrows raster map to the current layer tree. More... | |
def | OnAddRasterNum |
Add cell number raster map to the current layer tree. More... | |
def | OnAddCommand |
Add command line map layer to the current layer tree. More... | |
def | OnAddGroup |
Add layer group. More... | |
def | OnAddGrid |
Add grid map layer to the current layer tree. More... | |
def | OnAddGeodesic |
Add geodesic line map layer to the current layer tree. More... | |
def | OnAddRhumb |
Add rhumb map layer to the current layer tree. More... | |
def | OnAddLabels |
Add vector labels map layer to the current layer tree. More... | |
def | OnDeleteLayer |
Remove selected map layer from the current layer Tree. More... | |
def | OnKeyDown |
Key pressed. More... | |
def | OnCloseWindow |
Cleanup when wxGUI is quitted. More... | |
def | MsgNoLayerSelected |
Show dialog message 'No layer selected'. More... | |
def | MsgDisplayResolution |
Returns dialog for d.rast.num, d.rast.arrow when display resolution is not constrained. More... | |
Layer Manager frame with notebook widget for controlling GRASS GIS.
Includes command console page for typing GRASS (and other) commands, tree widget page for managing map layers.
Definition at line 71 of file lmgr/frame.py.
def frame.GMFrame.__init__ | ( | self, | |
parent, | |||
id = wx.ID_ANY , |
|||
title = _("GRASS GIS Layer Manager") , |
|||
workspace = None , |
|||
size = globalvar.GM_WINDOW_SIZE , |
|||
style = wx.DEFAULT_FRAME_STYLE , |
|||
kwargs | |||
) |
Definition at line 78 of file lmgr/frame.py.
def frame.GMFrame.AddNvizTools | ( | self) |
Add nviz notebook page.
Definition at line 284 of file lmgr/frame.py.
def frame.GMFrame.GetLayerTree | ( | self) |
Get current layer tree.
Definition at line 502 of file lmgr/frame.py.
References frame.GMFrame.curr_page.
Referenced by frame.GMFrame.OnShowAttributeTable(), and frame.GMFrame.OnVDigit().
def frame.GMFrame.GetLogWindow | ( | self) |
Get widget for command output.
Definition at line 508 of file lmgr/frame.py.
References frame.ModelFrame.goutput, frame.GMFrame.goutput, forms.TaskFrame.goutput, and forms.CmdPanel.goutput.
def frame.GMFrame.GetMenuCmd | ( | self, | |
event | |||
) |
Get GRASS command from menu item.
Return command as a list
Definition at line 512 of file lmgr/frame.py.
References menu.Menu.menucmd, and frame.GMFrame.menucmd.
Referenced by frame.GMFrame.OnMapCalculator(), frame.GMFrame.OnMenuCmd(), frame.GMFrame.OnXTerm(), frame.GMFrame.RulesCmd(), and frame.GMFrame.RunMenuCmd().
def frame.GMFrame.IsPaneShown | ( | self, | |
name | |||
) |
Check if pane (toolbar, ...) of given name is currently shown.
Definition at line 238 of file lmgr/frame.py.
References preferences.PreferencesBaseDialog.notebook, dialogs.DisplayAttributesDialog.notebook, frame.ModelFrame.notebook, frame.GMFrame.notebook, manager.AttributeManager.notebook, forms.CmdPanel.notebook, and model.ModelParamDialog.notebook.
Referenced by frame.MapFrame.OnAddText(), frame.MapFrame.OnCloseWindow(), frame.MapFrame.Query(), frame.MapFrame.QueryVector(), and frame.MapFrame.SaveToFile().
def frame.GMFrame.LoadWorkspaceFile | ( | self, | |
filename | |||
) |
Load layer tree definition stored in GRASS Workspace XML file (gxw)
Definition at line 880 of file lmgr/frame.py.
References frame.GMFrame.NewDisplay().
Referenced by frame.GMFrame.OnWorkspaceOpen().
def frame.GMFrame.MsgDisplayResolution | ( | self, | |
limitText = None |
|||
) |
Returns dialog for d.rast.num, d.rast.arrow when display resolution is not constrained.
limitText | adds a note about cell limit |
Definition at line 1831 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddRasterArrow(), and frame.GMFrame.OnAddRasterNum().
def frame.GMFrame.MsgNoLayerSelected | ( | self) |
Show dialog message 'No layer selected'.
Definition at line 1824 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnDeleteLayer(), frame.GMFrame.OnShowAttributeTable(), and frame.GMFrame.OnVDigit().
def frame.GMFrame.NewDisplay | ( | self, | |
name = None , |
|||
show = True |
|||
) |
Create new layer tree, which will create an associated map display frame.
name | name of new map display |
show | show map display window if True |
Definition at line 1438 of file lmgr/frame.py.
References frame.GMFrame.disp_idx.
Referenced by frame.GMFrame.LoadWorkspaceFile(), frame.GMFrame.OnAddCommand(), frame.GMFrame.OnAddGroup(), frame.GMFrame.OnAddLabels(), frame.GMFrame.OnAddMaps(), frame.GMFrame.OnAddOverlay(), frame.GMFrame.OnAddRaster(), frame.GMFrame.OnAddRasterMisc(), frame.GMFrame.OnAddVector(), frame.GMFrame.OnAddVectorMisc(), frame.GMFrame.OnNewDisplay(), frame.GMFrame.OnWorkspaceLoadGrcFile(), and frame.GMFrame.OnWorkspaceNew().
def frame.GMFrame.OnAboutGRASS | ( | self, | |
event | |||
) |
Display 'About GRASS' dialog.
Definition at line 783 of file lmgr/frame.py.
References mapdisp.MapFrameBase.iconsize, and frame.GMFrame.iconsize.
def frame.GMFrame.OnAddCommand | ( | self, | |
event | |||
) |
Add command line map layer to the current layer tree.
Definition at line 1654 of file lmgr/frame.py.
References frame.GMFrame.curr_page, and frame.GMFrame.NewDisplay().
Referenced by frame.GMFrame.OnAddOverlay().
def frame.GMFrame.OnAddGeodesic | ( | self, | |
event | |||
) |
Add geodesic line map layer to the current layer tree.
Definition at line 1683 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddOverlay().
def frame.GMFrame.OnAddGrid | ( | self, | |
event | |||
) |
Add grid map layer to the current layer tree.
Definition at line 1678 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddOverlay().
def frame.GMFrame.OnAddGroup | ( | self, | |
event | |||
) |
Add layer group.
Definition at line 1666 of file lmgr/frame.py.
References frame.GMFrame.curr_page, and frame.GMFrame.NewDisplay().
def frame.GMFrame.OnAddLabels | ( | self, | |
event | |||
) |
Add vector labels map layer to the current layer tree.
Definition at line 1693 of file lmgr/frame.py.
References frame.GMFrame.curr_page, and frame.GMFrame.NewDisplay().
Referenced by frame.GMFrame.OnAddOverlay().
def frame.GMFrame.OnAddMaps | ( | self, | |
event = None |
|||
) |
Add selected map layers into layer tree.
Definition at line 1490 of file lmgr/frame.py.
References frame.GMFrame.curr_page, and frame.GMFrame.NewDisplay().
def frame.GMFrame.OnAddOverlay | ( | self, | |
event | |||
) |
Create decoration overlay menu.
Definition at line 1587 of file lmgr/frame.py.
References frame.GMFrame._popupMenu(), frame.GMFrame.curr_page, frame.GMFrame.NewDisplay(), frame.GMFrame.OnAddCommand(), frame.GMFrame.OnAddGeodesic(), frame.GMFrame.OnAddGrid(), frame.GMFrame.OnAddLabels(), and frame.GMFrame.OnAddRhumb().
def frame.GMFrame.OnAddRaster | ( | self, | |
event | |||
) |
Add raster map layer.
Definition at line 1528 of file lmgr/frame.py.
References frame.GMFrame.curr_page, and frame.GMFrame.NewDisplay().
Referenced by frame.GMFrame.OnKeyDown().
def frame.GMFrame.OnAddRaster3D | ( | self, | |
event | |||
) |
Add 3D raster map to the current layer tree.
Definition at line 1603 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRasterArrow | ( | self, | |
event | |||
) |
Add flow arrows raster map to the current layer tree.
Definition at line 1623 of file lmgr/frame.py.
References frame.GMFrame.MsgDisplayResolution().
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRasterHIS | ( | self, | |
event | |||
) |
Add HIS raster map to the current layer tree.
Definition at line 1613 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRasterMisc | ( | self, | |
event | |||
) |
Create misc raster popup-menu.
Definition at line 1537 of file lmgr/frame.py.
References frame.GMFrame._popupMenu(), frame.GMFrame.curr_page, frame.GMFrame.NewDisplay(), frame.GMFrame.OnAddRaster3D(), frame.GMFrame.OnAddRasterArrow(), frame.GMFrame.OnAddRasterHIS(), frame.GMFrame.OnAddRasterNum(), frame.GMFrame.OnAddRasterRGB(), and frame.GMFrame.OnAddRasterShaded().
def frame.GMFrame.OnAddRasterNum | ( | self, | |
event | |||
) |
Add cell number raster map to the current layer tree.
Definition at line 1636 of file lmgr/frame.py.
References frame.GMFrame.MsgDisplayResolution().
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRasterRGB | ( | self, | |
event | |||
) |
Add RGB raster map to the current layer tree.
Definition at line 1608 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRasterShaded | ( | self, | |
event | |||
) |
Add shaded relief raster map to the current layer tree.
Definition at line 1618 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRhumb | ( | self, | |
event | |||
) |
Add rhumb map layer to the current layer tree.
Definition at line 1688 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddOverlay().
def frame.GMFrame.OnAddVector | ( | self, | |
event | |||
) |
Add vector map to the current layer tree.
Definition at line 1556 of file lmgr/frame.py.
References frame.GMFrame.curr_page, and frame.GMFrame.NewDisplay().
Referenced by frame.GMFrame.OnKeyDown().
def frame.GMFrame.OnAddVectorChart | ( | self, | |
event | |||
) |
Add chart vector map to the current layer tree.
Definition at line 1582 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddVectorMisc().
def frame.GMFrame.OnAddVectorMisc | ( | self, | |
event | |||
) |
Create misc vector popup-menu.
Definition at line 1565 of file lmgr/frame.py.
References frame.GMFrame._popupMenu(), frame.GMFrame.curr_page, frame.GMFrame.NewDisplay(), frame.GMFrame.OnAddVectorChart(), and frame.GMFrame.OnAddVectorTheme().
def frame.GMFrame.OnAddVectorTheme | ( | self, | |
event | |||
) |
Add thematic vector map to the current layer tree.
Definition at line 1577 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddVectorMisc().
def frame.GMFrame.OnCBPageChanged | ( | self, | |
event | |||
) |
Page in notebook (display) changed.
Definition at line 439 of file lmgr/frame.py.
References frame.GMFrame.curr_page, and frame.GMFrame.curr_pagenum.
def frame.GMFrame.OnCBPageClosed | ( | self, | |
event | |||
) |
Page of notebook closed Also close associated map display.
Definition at line 462 of file lmgr/frame.py.
References frame.GMFrame.curr_page, frame.GMFrame.curr_pagenum, frame.GMFrame.OnWorkspaceSaveAs(), frame.GMFrame.SaveToWorkspaceFile(), and frame.GMFrame.workspaceFile.
def frame.GMFrame.OnChangeLocation | ( | self, | |
event | |||
) |
Change current location
Definition at line 657 of file lmgr/frame.py.
References frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceNew(), and gcmd.RunCommand().
def frame.GMFrame.OnChangeMapset | ( | self, | |
event | |||
) |
def frame.GMFrame.OnCloseWindow | ( | self, | |
event | |||
) |
Cleanup when wxGUI is quitted.
Definition at line 1771 of file lmgr/frame.py.
References frame.GMFrame.curr_page, frame.GMFrame.OnDisplayCloseAll(), frame.GMFrame.OnWorkspaceSaveAs(), frame.GMFrame.SaveToWorkspaceFile(), frame.GMFrame.workspaceChanged, and frame.GMFrame.workspaceFile.
def frame.GMFrame.OnCreateMapset | ( | self, | |
event | |||
) |
def frame.GMFrame.OnDeleteLayer | ( | self, | |
event | |||
) |
Remove selected map layer from the current layer Tree.
Definition at line 1705 of file lmgr/frame.py.
References frame.GMFrame.curr_page, and frame.GMFrame.MsgNoLayerSelected().
def frame.GMFrame.OnDisplayClose | ( | self, | |
event = None |
|||
) |
Close current map display window.
Definition at line 1139 of file lmgr/frame.py.
References frame.GMFrame.curr_page.
def frame.GMFrame.OnDisplayCloseAll | ( | self, | |
event = None |
|||
) |
Close all open map display windows.
Definition at line 1145 of file lmgr/frame.py.
References tools.range.
Referenced by frame.GMFrame.OnCloseWindow(), and frame.GMFrame.OnWorkspaceClose().
def frame.GMFrame.OnDone | ( | self, | |
cmd, | |||
returncode | |||
) |
Command execution finised
Definition at line 401 of file lmgr/frame.py.
References frame.ModelFrame.goutput, frame.GMFrame.goutput, forms.TaskFrame.goutput, forms.CmdPanel.goutput, frame.ModelFrame.model, frame.GMFrame.model, model.WriteModelFile.model, and model.WritePythonFile.model.
Referenced by vclean.VectorCleaningFrame.OnCleaningRun(), extensions.InstallExtensionWindow.OnInstall(), and mcalc_builder.MapCalcFrame.OnMCalcRun().
def frame.GMFrame.OnEditImageryGroups | ( | self, | |
event, | |||
cmd = None |
|||
) |
Show dialog for creating and editing groups.
Definition at line 1242 of file lmgr/frame.py.
def frame.GMFrame.OnGCPManager | ( | self, | |
event | |||
) |
Launch georectifier module.
Definition at line 381 of file lmgr/frame.py.
def frame.GMFrame.OnGModeler | ( | self, | |
event | |||
) |
Launch Graphical Modeler.
Definition at line 386 of file lmgr/frame.py.
def frame.GMFrame.OnHelp | ( | self, | |
event | |||
) |
Show help.
Definition at line 1273 of file lmgr/frame.py.
def frame.GMFrame.OnHistogram | ( | self, | |
event | |||
) |
Init histogram display canvas and tools.
Definition at line 1278 of file lmgr/frame.py.
def frame.GMFrame.OnImportDxfFile | ( | self, | |
event, | |||
cmd = None |
|||
) |
Convert multiple DXF layers to GRASS vector map layers.
Definition at line 1321 of file lmgr/frame.py.
def frame.GMFrame.OnImportGdalLayers | ( | self, | |
event, | |||
cmd = None |
|||
) |
Convert multiple GDAL layers to GRASS raster map layers.
Definition at line 1327 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnImportMenu().
def frame.GMFrame.OnImportMenu | ( | self, | |
event | |||
) |
Import maps menu (import, link)
Definition at line 808 of file lmgr/frame.py.
References frame.GMFrame._popupMenu(), frame.GMFrame.OnImportGdalLayers(), and frame.GMFrame.OnImportOgrLayers().
def frame.GMFrame.OnImportOgrLayers | ( | self, | |
event, | |||
cmd = None |
|||
) |
Convert multiple OGR layers to GRASS vector map layers.
Definition at line 1339 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnImportMenu().
def frame.GMFrame.OnImportWMS | ( | self, | |
event, | |||
cmd = None |
|||
) |
Import data from OGC WMS server.
Definition at line 1351 of file lmgr/frame.py.
def frame.GMFrame.OnInstallExtension | ( | self, | |
event | |||
) |
Install extension from GRASS Addons SVN repository.
Definition at line 1249 of file lmgr/frame.py.
def frame.GMFrame.OnKeyDown | ( | self, | |
event | |||
) |
Key pressed.
Definition at line 1745 of file lmgr/frame.py.
References frame.GMFrame.OnAddRaster(), and frame.GMFrame.OnAddVector().
def frame.GMFrame.OnLinkGdalLayers | ( | self, | |
event, | |||
cmd = None |
|||
) |
Link multiple GDAL layers to GRASS raster map layers.
Definition at line 1333 of file lmgr/frame.py.
def frame.GMFrame.OnLinkOgrLayers | ( | self, | |
event, | |||
cmd = None |
|||
) |
Links multiple OGR layers to GRASS vector map layers.
Definition at line 1345 of file lmgr/frame.py.
def frame.GMFrame.OnLocationWizard | ( | self, | |
event | |||
) |
def frame.GMFrame.OnMapCalculator | ( | self, | |
event, | |||
cmd = '' |
|||
) |
Init map calculator for interactive creation of mapcalc statements.
Definition at line 1299 of file lmgr/frame.py.
References frame.GMFrame.GetMenuCmd().
def frame.GMFrame.OnMapsets | ( | self, | |
event | |||
) |
Launch mapset access dialog.
Definition at line 427 of file lmgr/frame.py.
References gcmd.RunCommand().
def frame.GMFrame.OnMenuCmd | ( | self, | |
event = None , |
|||
cmd = [] |
|||
) |
Parse command selected from menu.
Definition at line 553 of file lmgr/frame.py.
References frame.GMFrame.GetMenuCmd().
def frame.GMFrame.OnNewDisplay | ( | self, | |
event = None |
|||
) |
Create new layer tree and map display instance.
Definition at line 1434 of file lmgr/frame.py.
References frame.GMFrame.NewDisplay().
def frame.GMFrame.OnNewDisplayWMS | ( | self, | |
event = None |
|||
) |
Create new layer tree and map display instance.
Definition at line 1430 of file lmgr/frame.py.
def frame.GMFrame.OnNewVector | ( | self, | |
event | |||
) |
Create new vector map layer.
Definition at line 722 of file lmgr/frame.py.
References dialogs.CreateNewVector(), frame.ModelFrame.goutput, frame.GMFrame.goutput, forms.TaskFrame.goutput, and forms.CmdPanel.goutput.
def frame.GMFrame.OnPageChanged | ( | self, | |
event | |||
) |
Page in notebook changed.
Definition at line 451 of file lmgr/frame.py.
def frame.GMFrame.OnPreferences | ( | self, | |
event | |||
) |
General GUI preferences/settings.
Definition at line 1261 of file lmgr/frame.py.
References frame.GMFrame.dialogs, mapdisplay.MapFrame.dialogs, and frame.GMFrame.OnSettingsChanged().
def frame.GMFrame.OnProfile | ( | self, | |
event | |||
) |
Launch profile tool.
Definition at line 1289 of file lmgr/frame.py.
def frame.GMFrame.OnPsMap | ( | self, | |
event | |||
) |
Launch Cartographic Composer.
Definition at line 393 of file lmgr/frame.py.
def frame.GMFrame.OnRenameDisplay | ( | self, | |
event | |||
) |
Change Map Display name.
Definition at line 1155 of file lmgr/frame.py.
References frame.GMFrame.curr_pagenum.
def frame.GMFrame.OnRunModel | ( | self, | |
event | |||
) |
Run model.
Definition at line 408 of file lmgr/frame.py.
def frame.GMFrame.OnRunScript | ( | self, | |
event | |||
) |
def frame.GMFrame.OnSettingsChanged | ( | self, | |
event | |||
) |
Here can be functions which have to be called after EVT_SETTINGS_CHANGED.
Now only set copying of selected text to clipboard (in goutput).
Definition at line 374 of file lmgr/frame.py.
References frame.GMFrame._setCopyingOfSelectedText().
Referenced by frame.GMFrame.OnPreferences().
def frame.GMFrame.OnShowAttributeTable | ( | self, | |
event, | |||
selection = None |
|||
) |
Show attribute table of the given vector map layer.
Definition at line 1382 of file lmgr/frame.py.
References frame.GMFrame.curr_page, frame.GMFrame.dialogs, mapdisplay.MapFrame.dialogs, frame.GMFrame.GetLayerTree(), frame.ModelFrame.goutput, frame.GMFrame.goutput, forms.TaskFrame.goutput, forms.CmdPanel.goutput, and frame.GMFrame.MsgNoLayerSelected().
def frame.GMFrame.OnSystemInfo | ( | self, | |
event | |||
) |
Print system information.
Definition at line 740 of file lmgr/frame.py.
References gcmd.RunCommand(), and utils.split().
def frame.GMFrame.OnUninstallExtension | ( | self, | |
event | |||
) |
Uninstall extension.
Definition at line 1255 of file lmgr/frame.py.
def frame.GMFrame.OnVDigit | ( | self, | |
event | |||
) |
Start vector digitizer.
Definition at line 559 of file lmgr/frame.py.
References frame.GMFrame.curr_page, frame.GMFrame.GetLayerTree(), and frame.GMFrame.MsgNoLayerSelected().
def frame.GMFrame.OnVectorCleaning | ( | self, | |
event, | |||
cmd = '' |
|||
) |
Init interactive vector cleaning.
Definition at line 1313 of file lmgr/frame.py.
def frame.GMFrame.OnWorkspaceClose | ( | self, | |
event = None |
|||
) |
Close file with workspace definition.
If workspace has been modified ask user to save the changes.
Definition at line 1125 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.curr_page, frame.GMFrame.disp_idx, frame.GMFrame.OnDisplayCloseAll(), frame.GMFrame.workspaceChanged, and frame.GMFrame.workspaceFile.
Referenced by frame.GMFrame.OnChangeLocation(), and frame.GMFrame.OnWorkspaceOpen().
def frame.GMFrame.OnWorkspaceLoadGrcFile | ( | self, | |
event | |||
) |
Load map layers from GRC file (Tcl/Tk GUI) into map layer tree.
Definition at line 1012 of file lmgr/frame.py.
References frame.GMFrame.curr_page, and frame.GMFrame.NewDisplay().
def frame.GMFrame.OnWorkspaceNew | ( | self, | |
event = None |
|||
) |
Create new workspace file.
Erase current workspace settings first
Definition at line 814 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.curr_page, frame.GMFrame.NewDisplay(), frame.GMFrame.OnWorkspaceSave(), frame.GMFrame.OnWorkspaceSaveAs(), frame.GMFrame.workspaceChanged, and frame.GMFrame.workspaceFile.
Referenced by frame.GMFrame.OnChangeLocation().
def frame.GMFrame.OnWorkspaceOpen | ( | self, | |
event = None |
|||
) |
Open file with workspace definition.
Definition at line 858 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.LoadWorkspaceFile(), frame.GMFrame.OnWorkspaceClose(), and frame.GMFrame.workspaceFile.
def frame.GMFrame.OnWorkspaceSave | ( | self, | |
event = None |
|||
) |
Save file with workspace definition.
Definition at line 1080 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.OnWorkspaceSaveAs(), frame.GMFrame.SaveToWorkspaceFile(), frame.GMFrame.workspaceChanged, and frame.GMFrame.workspaceFile.
Referenced by frame.GMFrame.OnWorkspaceNew().
def frame.GMFrame.OnWorkspaceSaveAs | ( | self, | |
event = None |
|||
) |
Save workspace definition to selected file.
Definition at line 1050 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.SaveToWorkspaceFile(), and frame.GMFrame.workspaceFile.
Referenced by frame.GMFrame.OnCBPageClosed(), frame.ModelFrame.OnCloseWindow(), frame.GMFrame.OnCloseWindow(), frame.GMFrame.OnWorkspaceNew(), and frame.GMFrame.OnWorkspaceSave().
def frame.GMFrame.OnXTerm | ( | self, | |
event, | |||
need_xmon = True |
|||
) |
Run commands that need interactive xmon.
need_xmon | True to start X monitor |
Definition at line 1188 of file lmgr/frame.py.
References frame.GMFrame.GetMenuCmd(), and gcmd.RunCommand().
Referenced by frame.GMFrame.OnXTermNoXMon().
def frame.GMFrame.OnXTermNoXMon | ( | self, | |
event | |||
) |
Run commands that need xterm.
Definition at line 1182 of file lmgr/frame.py.
References frame.GMFrame.OnXTerm().
def frame.GMFrame.RemoveNvizTools | ( | self) |
Remove nviz notebook page.
Definition at line 307 of file lmgr/frame.py.
def frame.GMFrame.RulesCmd | ( | self, | |
event | |||
) |
Launches dialog for commands that need rules input and processes rules.
Definition at line 1169 of file lmgr/frame.py.
References frame.GMFrame.GetMenuCmd().
def frame.GMFrame.RunMenuCmd | ( | self, | |
event = None , |
|||
cmd = [] |
|||
) |
Run command selected from menu.
Definition at line 547 of file lmgr/frame.py.
References frame.GMFrame.GetMenuCmd().
def frame.GMFrame.SaveToWorkspaceFile | ( | self, | |
filename | |||
) |
Save layer tree layout to workspace file.
Return True on success, False on error
Definition at line 1097 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnCBPageClosed(), frame.GMFrame.OnCloseWindow(), frame.GMFrame.OnWorkspaceSave(), and frame.GMFrame.OnWorkspaceSaveAs().
def frame.GMFrame.WorkspaceChanged | ( | self) |
Update window title.
Definition at line 319 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.workspaceChanged, and frame.GMFrame.workspaceFile.
frame.GMFrame.baseTitle |
Definition at line 80 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceNew(), frame.GMFrame.OnWorkspaceOpen(), frame.GMFrame.OnWorkspaceSave(), frame.GMFrame.OnWorkspaceSaveAs(), and frame.GMFrame.WorkspaceChanged().
frame.GMFrame.curr_page |
Definition at line 95 of file lmgr/frame.py.
Referenced by frame.GMFrame.GetLayerTree(), frame.GMFrame.OnAddCommand(), frame.GMFrame.OnAddGroup(), frame.GMFrame.OnAddLabels(), frame.GMFrame.OnAddMaps(), frame.GMFrame.OnAddOverlay(), frame.GMFrame.OnAddRaster(), frame.GMFrame.OnAddRasterMisc(), frame.GMFrame.OnAddVector(), frame.GMFrame.OnAddVectorMisc(), frame.GMFrame.OnCBPageChanged(), frame.GMFrame.OnCBPageClosed(), frame.GMFrame.OnCloseWindow(), frame.GMFrame.OnDeleteLayer(), frame.GMFrame.OnDisplayClose(), frame.GMFrame.OnShowAttributeTable(), frame.GMFrame.OnVDigit(), frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceLoadGrcFile(), and frame.GMFrame.OnWorkspaceNew().
frame.GMFrame.curr_pagenum |
Definition at line 96 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnCBPageChanged(), frame.GMFrame.OnCBPageClosed(), and frame.GMFrame.OnRenameDisplay().
frame.GMFrame.dialogs |
Definition at line 103 of file lmgr/frame.py.
Referenced by frame.MapFrame.AddBarscale(), frame.MapFrame.AddLegend(), frame.MapFrame.OnAddText(), frame.GMFrame.OnPreferences(), frame.GMFrame.OnShowAttributeTable(), and frame.MapFrame.QueryVector().
frame.GMFrame.disp_idx |
Definition at line 94 of file lmgr/frame.py.
Referenced by frame.GMFrame.NewDisplay(), and frame.GMFrame.OnWorkspaceClose().
frame.GMFrame.gcpmanagement |
Definition at line 100 of file lmgr/frame.py.
frame.GMFrame.georectifying |
Definition at line 99 of file lmgr/frame.py.
frame.GMFrame.gm_cb |
Definition at line 250 of file lmgr/frame.py.
frame.GMFrame.goutput |
Definition at line 259 of file lmgr/frame.py.
Referenced by frame.GMFrame.GetLogWindow(), frame.GMFrame.OnDone(), frame.GMFrame.OnNewVector(), and frame.GMFrame.OnShowAttributeTable().
frame.GMFrame.iconsize |
Definition at line 81 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAboutGRASS().
frame.GMFrame.menubar |
Definition at line 218 of file lmgr/frame.py.
frame.GMFrame.menucmd |
Definition at line 220 of file lmgr/frame.py.
Referenced by frame.GMFrame.GetMenuCmd().
frame.GMFrame.model |
Definition at line 421 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnDone().
frame.GMFrame.notebook |
Definition at line 110 of file lmgr/frame.py.
Referenced by frame.GMFrame.IsPaneShown().
frame.GMFrame.nviz |
Definition at line 300 of file lmgr/frame.py.
frame.GMFrame.parent |
Definition at line 79 of file lmgr/frame.py.
Referenced by wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), colorrules.RulesPanel.LoadRules(), wxdigit.VDigitError.NoMap(), frame.PsMapBufferedWindow.OnLeftUp(), wxdigit.VDigitError.ReadLine(), colorrules.VectorColorTable.UpdateColorColumn(), and wxdigit.VDigitError.WriteLine().
frame.GMFrame.pg_panel |
Definition at line 1450 of file lmgr/frame.py.
frame.GMFrame.pyshell |
Definition at line 272 of file lmgr/frame.py.
frame.GMFrame.search |
Definition at line 265 of file lmgr/frame.py.
frame.GMFrame.statusbar |
Definition at line 109 of file lmgr/frame.py.
frame.GMFrame.toolbars |
Definition at line 111 of file lmgr/frame.py.
Referenced by frame.MapFrame.AddNviz(), mapdisplay.MapFrame.AddToolbar(), frame.MapFrame.AddToolbar(), mapdisplay.MapFrame.GetMapToolbar(), frame.MapFrame.GetMapToolbar(), frame.MapFrame.GetMapWindow(), frame.MapFrame.OnCloseWindow(), frame.MapFrame.OnFlyThrough(), mapdisplay.MapFrame.OnPan(), mapdisplay.MapFrame.OnPointer(), frame.MapFrame.OnPointer(), frame.MapFrame.OnQuery(), frame.MapFrame.OnRotate(), mapdisplay.MapFrame.OnZoomIn(), mapdisplay.MapFrame.OnZoomOut(), frame.MapFrame.RemoveNviz(), and frame.MapFrame.RemoveToolbar().
frame.GMFrame.workspaceChanged |
Definition at line 98 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnCloseWindow(), frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceNew(), frame.GMFrame.OnWorkspaceSave(), and frame.GMFrame.WorkspaceChanged().
frame.GMFrame.workspaceFile |
Definition at line 97 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnCBPageClosed(), frame.GMFrame.OnCloseWindow(), wxgui.GMApp.OnInit(), frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceNew(), frame.GMFrame.OnWorkspaceOpen(), frame.GMFrame.OnWorkspaceSave(), frame.GMFrame.OnWorkspaceSaveAs(), and frame.GMFrame.WorkspaceChanged().