|
GRASS Programmer's Manual
6.4.2(2012)
|
Layer Manager frame with notebook widget for controlling GRASS GIS. More...
Public Member Functions | |
| def | __init__ |
| def | AddNviz |
| Add nviz notebook page. | |
| def | RemoveNviz |
| Remove nviz notebook page. | |
| def | WorkspaceChanged |
| Update window title. | |
| def | OnSettingsChanged |
| Here can be functions which have to be called after EVT_SETTINGS_CHANGED. | |
| def | OnGCPManager |
| Launch georectifier module. | |
| def | OnGModeler |
| Launch Graphical Modeler. | |
| def | OnPsMap |
| Launch Cartographic Composer. | |
| def | OnDone |
| def | OnRunModel |
| Run model. | |
| def | OnMapsets |
| Launch mapset access dialog. | |
| def | OnCBPageChanged |
| Page in notebook (display) changed. | |
| def | OnPageChanged |
| Page in notebook changed. | |
| def | OnCBPageClosed |
| Page of notebook closed Also close associated map display. | |
| def | GetLayerTree |
| Get current layer tree. | |
| def | GetLogWindow |
| Get widget for command output. | |
| def | GetMenuCmd |
| Get GRASS command from menu item. | |
| def | RunMenuCmd |
| Run command selected from menu. | |
| def | OnMenuCmd |
| Parse command selected from menu. | |
| def | OnVDigit |
| Start vector digitizer. | |
| def | OnRunScript |
| Run script. | |
| def | OnChangeLocation |
| def | OnChangeMapset |
| def | OnNewVector |
| Create new vector map layer. | |
| def | OnAboutGRASS |
| Display 'About GRASS' dialog. | |
| def | OnImportMenu |
| Import maps menu (import, link) | |
| def | OnWorkspaceNew |
| Create new workspace file. | |
| def | OnWorkspaceOpen |
| Open file with workspace definition. | |
| def | LoadWorkspaceFile |
| Load layer tree definition stored in GRASS Workspace XML file (gxw) | |
| def | OnWorkspaceLoadGrcFile |
| Load map layers from GRC file (Tcl/Tk GUI) into map layer tree. | |
| def | OnWorkspaceSaveAs |
| Save workspace definition to selected file. | |
| def | OnWorkspaceSave |
| Save file with workspace definition. | |
| def | SaveToWorkspaceFile |
| Save layer tree layout to workspace file. | |
| def | OnWorkspaceClose |
| Close file with workspace definition. | |
| def | OnDisplayClose |
| Close current map display window. | |
| def | OnDisplayCloseAll |
| Close all open map display windows. | |
| def | RulesCmd |
| Launches dialog for commands that need rules input and processes rules. | |
| def | OnXTermNoXMon |
| Run commands that need xterm. | |
| def | OnXTerm |
| Run commands that need interactive xmon. | |
| def | OnInstallExtension |
| Install extension from GRASS Addons SVN repository. | |
| def | OnUninstallExtension |
| Uninstall extension. | |
| def | OnPreferences |
| General GUI preferences/settings. | |
| def | OnHelp |
| Show help. | |
| def | DispHistogram |
| def | DispProfile |
| def | OnMapCalculator |
| Init map calculator for interactive creation of mapcalc statements. | |
| def | OnVectorCleaning |
| Init interactive vector cleaning. | |
| def | OnImportDxfFile |
| Convert multiple DXF layers to GRASS vector map layers. | |
| def | OnImportGdalLayers |
| Convert multiple GDAL layers to GRASS raster map layers. | |
| def | OnLinkGdalLayers |
| Link multiple GDAL layers to GRASS raster map layers. | |
| def | OnImportOgrLayers |
| Convert multiple OGR layers to GRASS vector map layers. | |
| def | OnLinkOgrLayers |
| Links multiple OGR layers to GRASS vector map layers. | |
| def | OnImportWMS |
| Import data from OGC WMS server. | |
| def | OnShowAttributeTable |
| Show attribute table of the given vector map layer. | |
| def | OnNewDisplay |
| Create new layer tree and map display instance. | |
| def | NewDisplay |
| Create new layer tree, which will create an associated map display frame. | |
| def | OnAddMaps |
| Add selected map layers into layer tree. | |
| def | OnAddRaster |
| Add raster map layer. | |
| def | OnAddRaster3D |
| Add 3D raster map layer. | |
| def | OnAddRasterMisc |
| Create misc raster popup-menu. | |
| def | OnAddVector |
| Add vector map to the current layer tree. | |
| def | OnAddVectorMisc |
| Create misc vector popup-menu. | |
| def | OnAddVectorTheme |
| Add thematic vector map to the current layer tree. | |
| def | OnAddVectorChart |
| Add chart vector map to the current layer tree. | |
| def | OnAddOverlay |
| Create decoration overlay menu. | |
| def | OnAddRaster3D |
| Add 3D raster map to the current layer tree. | |
| def | OnAddRasterRGB |
| Add RGB raster map to the current layer tree. | |
| def | OnAddRasterHIS |
| Add HIS raster map to the current layer tree. | |
| def | OnAddRasterShaded |
| Add shaded relief raster map to the current layer tree. | |
| def | OnAddRasterArrow |
| Add flow arrows raster map to the current layer tree. | |
| def | OnAddRasterNum |
| Add cell number raster map to the current layer tree. | |
| def | OnAddCommand |
| Add command line map layer to the current layer tree. | |
| def | OnAddGroup |
| Add layer group. | |
| def | OnAddGrid |
| Add grid map layer to the current layer tree. | |
| def | OnAddGeodesic |
| Add geodesic line map layer to the current layer tree. | |
| def | OnAddRhumb |
| Add rhumb map layer to the current layer tree. | |
| def | OnAddLabels |
| Add vector labels map layer to the current layer tree. | |
| def | OnDeleteLayer |
| Remove selected map layer from the current layer Tree. | |
| def | OnKeyDown |
| Key pressed. | |
| def | OnCloseWindow |
| Cleanup when wxGUI is quitted. | |
| def | MsgNoLayerSelected |
| Show dialog message 'No layer selected'. | |
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.
| def wxgui.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 | |||
| ) |
| def wxgui.GMFrame.DispHistogram | ( | self, | |
| event | |||
| ) |
| def wxgui.GMFrame.DispProfile | ( | self, | |
| event | |||
| ) |
| def wxgui.GMFrame.GetLayerTree | ( | self | ) |
Get current layer tree.
Definition at line 439 of file wxgui.py.
Referenced by wxgui.GMFrame.OnShowAttributeTable(), and wxgui.GMFrame.OnVDigit().
| def wxgui.GMFrame.GetLogWindow | ( | self | ) |
Get widget for command output.
Definition at line 443 of file wxgui.py.
References vkrige.KrigingPanel.goutput, wxgui.GMFrame.goutput, gui_modules.menuform.mainFrame.goutput, gui_modules.gmodeler.ModelFrame.goutput, and gui_modules.menuform.cmdPanel.goutput.
| def wxgui.GMFrame.GetMenuCmd | ( | self, | |
| event | |||
| ) |
Get GRASS command from menu item.
Return command as a list
Definition at line 447 of file wxgui.py.
References gui_modules.menu.Menu.menucmd, and wxgui.GMFrame.menucmd.
Referenced by wxgui.GMFrame.OnMapCalculator(), wxgui.GMFrame.OnMenuCmd(), wxgui.GMFrame.OnVectorCleaning(), wxgui.GMFrame.OnXTerm(), wxgui.GMFrame.RulesCmd(), and wxgui.GMFrame.RunMenuCmd().
| def wxgui.GMFrame.LoadWorkspaceFile | ( | self, | |
| filename | |||
| ) |
Load layer tree definition stored in GRASS Workspace XML file (gxw)
Definition at line 717 of file wxgui.py.
References wxgui.GMFrame.NewDisplay().
Referenced by wxgui.GMFrame.OnWorkspaceOpen().
| def wxgui.GMFrame.MsgNoLayerSelected | ( | self | ) |
Show dialog message 'No layer selected'.
Definition at line 1589 of file wxgui.py.
Referenced by wxgui.GMFrame.OnDeleteLayer(), wxgui.GMFrame.OnShowAttributeTable(), and wxgui.GMFrame.OnVDigit().
| def wxgui.GMFrame.NewDisplay | ( | self, | |
show = True |
|||
| ) |
Create new layer tree, which will create an associated map display frame.
| show | show map display window if True |
Definition at line 1238 of file wxgui.py.
References gui_modules.layertree.LayerTree.disp_idx, and wxgui.GMFrame.disp_idx.
Referenced by wxgui.GMFrame.LoadWorkspaceFile(), wxgui.GMFrame.OnAddCommand(), wxgui.GMFrame.OnAddGroup(), wxgui.GMFrame.OnAddLabels(), wxgui.GMFrame.OnAddMaps(), wxgui.GMFrame.OnAddOverlay(), wxgui.GMFrame.OnAddRaster(), wxgui.GMFrame.OnAddRaster3D(), wxgui.GMFrame.OnAddRasterMisc(), wxgui.GMFrame.OnAddVector(), wxgui.GMFrame.OnAddVectorMisc(), wxgui.GMFrame.OnNewDisplay(), wxgui.GMFrame.OnWorkspaceLoadGrcFile(), and wxgui.GMFrame.OnWorkspaceNew().
| def wxgui.GMFrame.OnAboutGRASS | ( | self, | |
| event | |||
| ) |
Display 'About GRASS' dialog.
Definition at line 620 of file wxgui.py.
References gui_modules.psmap.PsMapFrame.iconsize, wxgui.GMFrame.iconsize, gui_modules.gcpmapdisp.MapFrame.iconsize, and gui_modules.mapdisp.MapFrame.iconsize.
| def wxgui.GMFrame.OnAddCommand | ( | self, | |
| event | |||
| ) |
Add command line map layer to the current layer tree.
Definition at line 1426 of file wxgui.py.
References wxgui.GMFrame.curr_page, and wxgui.GMFrame.NewDisplay().
Referenced by wxgui.GMFrame.OnAddOverlay().
| def wxgui.GMFrame.OnAddGeodesic | ( | self, | |
| event | |||
| ) |
Add geodesic line map layer to the current layer tree.
Definition at line 1455 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddOverlay().
| def wxgui.GMFrame.OnAddGrid | ( | self, | |
| event | |||
| ) |
Add grid map layer to the current layer tree.
Definition at line 1450 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddOverlay().
| def wxgui.GMFrame.OnAddGroup | ( | self, | |
| event | |||
| ) |
Add layer group.
Definition at line 1438 of file wxgui.py.
References wxgui.GMFrame.curr_page, and wxgui.GMFrame.NewDisplay().
| def wxgui.GMFrame.OnAddLabels | ( | self, | |
| event | |||
| ) |
Add vector labels map layer to the current layer tree.
Definition at line 1465 of file wxgui.py.
References wxgui.GMFrame.curr_page, and wxgui.GMFrame.NewDisplay().
Referenced by wxgui.GMFrame.OnAddOverlay().
| def wxgui.GMFrame.OnAddMaps | ( | self, | |
event = None |
|||
| ) |
Add selected map layers into layer tree.
Definition at line 1285 of file wxgui.py.
References wxgui.GMFrame.curr_page, and wxgui.GMFrame.NewDisplay().
| def wxgui.GMFrame.OnAddOverlay | ( | self, | |
| event | |||
| ) |
Create decoration overlay menu.
Definition at line 1380 of file wxgui.py.
References wxgui.GMFrame._popupMenu(), wxgui.GMFrame.curr_page, wxgui.GMFrame.NewDisplay(), wxgui.GMFrame.OnAddCommand(), wxgui.GMFrame.OnAddGeodesic(), wxgui.GMFrame.OnAddGrid(), wxgui.GMFrame.OnAddLabels(), and wxgui.GMFrame.OnAddRhumb().
| def wxgui.GMFrame.OnAddRaster | ( | self, | |
| event | |||
| ) |
Add raster map layer.
Definition at line 1313 of file wxgui.py.
References wxgui.GMFrame.curr_page, and wxgui.GMFrame.NewDisplay().
Referenced by wxgui.GMFrame.OnKeyDown().
| def wxgui.GMFrame.OnAddRaster3D | ( | self, | |
| event | |||
| ) |
Add 3D raster map layer.
Definition at line 1322 of file wxgui.py.
References wxgui.GMFrame.curr_page, and wxgui.GMFrame.NewDisplay().
Referenced by wxgui.GMFrame.OnAddRaster3D(), and wxgui.GMFrame.OnAddRasterMisc().
| def wxgui.GMFrame.OnAddRaster3D | ( | self, | |
| event | |||
| ) |
Add 3D raster map to the current layer tree.
Definition at line 1396 of file wxgui.py.
References wxgui.GMFrame.OnAddRaster3D().
| def wxgui.GMFrame.OnAddRasterArrow | ( | self, | |
| event | |||
| ) |
Add flow arrows raster map to the current layer tree.
Definition at line 1416 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddRasterMisc().
| def wxgui.GMFrame.OnAddRasterHIS | ( | self, | |
| event | |||
| ) |
Add HIS raster map to the current layer tree.
Definition at line 1406 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddRasterMisc().
| def wxgui.GMFrame.OnAddRasterMisc | ( | self, | |
| event | |||
| ) |
Create misc raster popup-menu.
Definition at line 1330 of file wxgui.py.
References wxgui.GMFrame._popupMenu(), wxgui.GMFrame.curr_page, wxgui.GMFrame.NewDisplay(), wxgui.GMFrame.OnAddRaster3D(), wxgui.GMFrame.OnAddRasterArrow(), wxgui.GMFrame.OnAddRasterHIS(), wxgui.GMFrame.OnAddRasterNum(), wxgui.GMFrame.OnAddRasterRGB(), and wxgui.GMFrame.OnAddRasterShaded().
| def wxgui.GMFrame.OnAddRasterNum | ( | self, | |
| event | |||
| ) |
Add cell number raster map to the current layer tree.
Definition at line 1421 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddRasterMisc().
| def wxgui.GMFrame.OnAddRasterRGB | ( | self, | |
| event | |||
| ) |
Add RGB raster map to the current layer tree.
Definition at line 1401 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddRasterMisc().
| def wxgui.GMFrame.OnAddRasterShaded | ( | self, | |
| event | |||
| ) |
Add shaded relief raster map to the current layer tree.
Definition at line 1411 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddRasterMisc().
| def wxgui.GMFrame.OnAddRhumb | ( | self, | |
| event | |||
| ) |
Add rhumb map layer to the current layer tree.
Definition at line 1460 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddOverlay().
| def wxgui.GMFrame.OnAddVector | ( | self, | |
| event | |||
| ) |
Add vector map to the current layer tree.
Definition at line 1349 of file wxgui.py.
References wxgui.GMFrame.curr_page, and wxgui.GMFrame.NewDisplay().
Referenced by wxgui.GMFrame.OnKeyDown().
| def wxgui.GMFrame.OnAddVectorChart | ( | self, | |
| event | |||
| ) |
Add chart vector map to the current layer tree.
Definition at line 1375 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddVectorMisc().
| def wxgui.GMFrame.OnAddVectorMisc | ( | self, | |
| event | |||
| ) |
Create misc vector popup-menu.
Definition at line 1358 of file wxgui.py.
References wxgui.GMFrame._popupMenu(), wxgui.GMFrame.curr_page, wxgui.GMFrame.NewDisplay(), wxgui.GMFrame.OnAddVectorChart(), and wxgui.GMFrame.OnAddVectorTheme().
| def wxgui.GMFrame.OnAddVectorTheme | ( | self, | |
| event | |||
| ) |
Add thematic vector map to the current layer tree.
Definition at line 1370 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddVectorMisc().
| def wxgui.GMFrame.OnCBPageChanged | ( | self, | |
| event | |||
| ) |
Page in notebook (display) changed.
Definition at line 374 of file wxgui.py.
References wxgui.GMFrame.curr_page, and wxgui.GMFrame.curr_pagenum.
| def wxgui.GMFrame.OnCBPageClosed | ( | self, | |
| event | |||
| ) |
Page of notebook closed Also close associated map display.
Definition at line 400 of file wxgui.py.
References wxgui.GMFrame.curr_page, wxgui.GMFrame.curr_pagenum, wxgui.GMFrame.OnWorkspaceSaveAs(), wxgui.GMFrame.SaveToWorkspaceFile(), and wxgui.GMFrame.workspaceFile.
| def wxgui.GMFrame.OnChangeLocation | ( | self, | |
| event | |||
| ) |
Change current location
Definition at line 556 of file wxgui.py.
References wxgui.GMFrame.OnWorkspaceClose(), and wxgui.GMFrame.OnWorkspaceNew().
| def wxgui.GMFrame.OnChangeMapset | ( | self, | |
| event | |||
| ) |
| def wxgui.GMFrame.OnCloseWindow | ( | self, | |
| event | |||
| ) |
Cleanup when wxGUI is quitted.
Definition at line 1543 of file wxgui.py.
References wxgui.GMFrame.curr_page, wxgui.GMFrame.OnDisplayCloseAll(), wxgui.GMFrame.OnWorkspaceSaveAs(), wxgui.GMFrame.SaveToWorkspaceFile(), wxgui.GMFrame.workspaceChanged, and wxgui.GMFrame.workspaceFile.
| def wxgui.GMFrame.OnDeleteLayer | ( | self, | |
| event | |||
| ) |
Remove selected map layer from the current layer Tree.
Definition at line 1477 of file wxgui.py.
References wxgui.GMFrame.curr_page, and wxgui.GMFrame.MsgNoLayerSelected().
| def wxgui.GMFrame.OnDisplayClose | ( | self, | |
event = None |
|||
| ) |
Close current map display window.
Definition at line 959 of file wxgui.py.
References wxgui.GMFrame.curr_page.
| def wxgui.GMFrame.OnDisplayCloseAll | ( | self, | |
event = None |
|||
| ) |
Close all open map display windows.
Definition at line 965 of file wxgui.py.
Referenced by wxgui.GMFrame.OnCloseWindow(), and wxgui.GMFrame.OnWorkspaceClose().
| def wxgui.GMFrame.OnDone | ( | self, | |
| cmd, | |||
| returncode | |||
| ) |
Command execution finised
Definition at line 336 of file wxgui.py.
References vkrige.KrigingPanel.goutput, wxgui.GMFrame.goutput, gui_modules.menuform.mainFrame.goutput, gui_modules.gmodeler.ModelFrame.goutput, gui_modules.menuform.cmdPanel.goutput, wxgui.GMFrame.model, vkrige.RBookgstatPanel.model, gui_modules.gmodeler.ModelFrame.model, gui_modules.gmodeler.WriteModelFile.model, and gui_modules.gmodeler.WritePythonFile.model.
| def wxgui.GMFrame.OnGCPManager | ( | self, | |
| event | |||
| ) |
| def wxgui.GMFrame.OnGModeler | ( | self, | |
| event | |||
| ) |
| def wxgui.GMFrame.OnImportDxfFile | ( | self, | |
| event, | |||
cmd = None |
|||
| ) |
| def wxgui.GMFrame.OnImportGdalLayers | ( | self, | |
| event, | |||
cmd = None |
|||
| ) |
Convert multiple GDAL layers to GRASS raster map layers.
Definition at line 1131 of file wxgui.py.
Referenced by wxgui.GMFrame.OnImportMenu().
| def wxgui.GMFrame.OnImportMenu | ( | self, | |
| event | |||
| ) |
Import maps menu (import, link)
Definition at line 645 of file wxgui.py.
References wxgui.GMFrame._popupMenu(), wxgui.GMFrame.OnImportGdalLayers(), and wxgui.GMFrame.OnImportOgrLayers().
| def wxgui.GMFrame.OnImportOgrLayers | ( | self, | |
| event, | |||
cmd = None |
|||
| ) |
Convert multiple OGR layers to GRASS vector map layers.
Definition at line 1143 of file wxgui.py.
Referenced by wxgui.GMFrame.OnImportMenu().
| def wxgui.GMFrame.OnImportWMS | ( | self, | |
| event | |||
| ) |
| def wxgui.GMFrame.OnInstallExtension | ( | self, | |
| event | |||
| ) |
| def wxgui.GMFrame.OnKeyDown | ( | self, | |
| event | |||
| ) |
Key pressed.
Definition at line 1517 of file wxgui.py.
References wxgui.GMFrame.OnAddRaster(), wxgui.GMFrame.OnAddVector(), and gui_modules.psmap_dialogs.VectorPanel.OnAddVector().
| def wxgui.GMFrame.OnLinkGdalLayers | ( | self, | |
| event, | |||
cmd = None |
|||
| ) |
| def wxgui.GMFrame.OnLinkOgrLayers | ( | self, | |
| event, | |||
cmd = None |
|||
| ) |
| def wxgui.GMFrame.OnMapCalculator | ( | self, | |
| event, | |||
cmd = '' |
|||
| ) |
Init map calculator for interactive creation of mapcalc statements.
Definition at line 1100 of file wxgui.py.
References wxgui.GMFrame.GetMenuCmd().
| def wxgui.GMFrame.OnMapsets | ( | self, | |
| event | |||
| ) |
| def wxgui.GMFrame.OnMenuCmd | ( | self, | |
event = None, |
|||
cmd = [] |
|||
| ) |
Parse command selected from menu.
Definition at line 488 of file wxgui.py.
References wxgui.GMFrame.GetMenuCmd().
| def wxgui.GMFrame.OnNewDisplay | ( | self, | |
event = None |
|||
| ) |
Create new layer tree and map display instance.
Definition at line 1234 of file wxgui.py.
References wxgui.GMFrame.NewDisplay().
| def wxgui.GMFrame.OnNewVector | ( | self, | |
| event | |||
| ) |
Create new vector map layer.
Definition at line 597 of file wxgui.py.
References vkrige.KrigingPanel.goutput, wxgui.GMFrame.goutput, gui_modules.menuform.mainFrame.goutput, gui_modules.gmodeler.ModelFrame.goutput, gui_modules.menuform.cmdPanel.goutput, and wxgui.GMFrame.OnShowAttributeTable().
| def wxgui.GMFrame.OnPageChanged | ( | self, | |
| event | |||
| ) |
| def wxgui.GMFrame.OnPreferences | ( | self, | |
| event | |||
| ) |
General GUI preferences/settings.
Definition at line 1059 of file wxgui.py.
References wxgui.GMFrame.dialogs, gui_modules.mapdisp.MapFrame.dialogs, gui_modules.gcpmapdisp.MapFrame.dialogs, and wxgui.GMFrame.OnSettingsChanged().
| def wxgui.GMFrame.OnPsMap | ( | self, | |
| event | |||
| ) |
Launch Cartographic Composer.
Definition at line 320 of file wxgui.py.
References gui_modules.menu.Menu.parent, gui_modules.gpyshell.PyShellWindow.parent, gui_modules.mapdisp_command.Command.parent, gui_modules.ogc_services.WMSDialog.parent, gui_modules.wxvdigit.VDigitError.parent, gui_modules.mcalc_builder.MapCalcFrame.parent, gui_modules.vclean.VectorCleaningFrame.parent, gui_modules.colorrules.ColorTable.parent, gui_modules.histogram.BufferedWindow.parent, gui_modules.dbm_dialogs.DisplayAttributesDialog.parent, gui_modules.sqlbuilder.SQLFrame.parent, gui_modules.nviz_tools.NvizToolWindow.parent, gui_modules.mapdisp_window.MapWindow.parent, gui_modules.toolbars.AbstractToolbar.parent, gui_modules.profile.ProfileFrame.parent, vkrige.KrigingPanel.parent, gui_modules.dbm.Log.parent, gui_modules.psmap.PsMapFrame.parent, gui_modules.goutput.CmdThread.parent, gui_modules.vdigit.VDigitSettingsDialog.parent, gui_modules.nviz_mapdisp.GLWindow.parent, gui_modules.dbm.VirtualAttributeList.parent, gui_modules.psmap_dialogs.UnitConversion.parent, gui_modules.gcpmapdisp.MapFrame.parent, gui_modules.gcpmanager.GCPWizard.parent, wxgui.GMFrame.parent, gui_modules.mapdisp.MapFrame.parent, gui_modules.menuform.UpdateThread.parent, gui_modules.goutput.GMConsole.parent, gui_modules.ghelp.MenuTreeWindow.parent, gui_modules.ogc_services.LayersList.parent, gui_modules.location_wizard.CoordinateSystemPage.parent, gui_modules.psmap_dialogs.Instruction.parent, vkrige.Log.parent, vkrige.RBookPanel.parent, gui_modules.menuform.UpdateQThread.parent, gui_modules.gcpmanager.LocationPage.parent, gui_modules.menuform.mainFrame.parent, gui_modules.location_wizard.ProjectionsPage.parent, gui_modules.gcpmanager.GroupPage.parent, gui_modules.ghelp.MenuTree.parent, gui_modules.prompt.GPrompt.parent, gui_modules.gdialogs.DecorationDialog.parent, gui_modules.dbm.AttributeManager.parent, gui_modules.gcpmanager.DispMapPage.parent, gui_modules.gmodeler.ModelFrame.parent, gui_modules.gselect.LayerSelect.parent, gui_modules.location_wizard.ProjParamsPage.parent, gui_modules.gdialogs.TextLayerDialog.parent, gui_modules.colorrules.BufferedWindow.parent, gui_modules.menuform.cmdPanel.parent, gui_modules.gcpmanager.GCP.parent, gui_modules.profile.SetRasterDialog.parent, gui_modules.ghelp.InstallExtensionWindow.parent, gui_modules.gdialogs.AddMapLayersDialog.parent, gui_modules.vdigit.VDigitCategoryDialog.parent, gui_modules.location_wizard.DatumPage.parent, gui_modules.profile.TextDialog.parent, gui_modules.goutput.GMStdout.parent, gui_modules.goutput.GMStderr.parent, gui_modules.psmap.PsMapBufferedWindow.parent, gui_modules.preferences.PreferencesBaseDialog.parent, gui_modules.goutput.GMStc.parent, gui_modules.location_wizard.EllipsePage.parent, gui_modules.ghelp.ExtensionTree.parent, gui_modules.gdialogs.ImportDialog.parent, gui_modules.gselect.GdalSelect.parent, gui_modules.profile.OptDialog.parent, gui_modules.ghelp.UninstallExtensionWindow.parent, gui_modules.ghelp.CheckListExtension.parent, gui_modules.location_wizard.EPSGPage.parent, gui_modules.ghelp.HelpWindow.parent, gui_modules.vdigit.CategoryListCtrl.parent, gui_modules.vdigit.VDigitZBulkDialog.parent, gui_modules.vdigit.VDigitDuplicatesDialog.parent, gui_modules.gdialogs.LayersList.parent, gui_modules.location_wizard.CustomPage.parent, gui_modules.vdigit.CheckListFeature.parent, gui_modules.gdialogs.SetOpacityDialog.parent, gui_modules.location_wizard.SummaryPage.parent, gui_modules.gmodeler.ModelCanvas.parent, gui_modules.psmap_dialogs.PsmapDialog.parent, gui_modules.gdialogs.StaticWrapText.parent, gui_modules.menuform.GUI.parent, gui_modules.gmodeler.ModelAction.parent, gui_modules.gdialogs.ImageSizeDialog.parent, gui_modules.location_wizard.LocationWizard.parent, gui_modules.gmodeler.ModelData.parent, gui_modules.gmodeler.ModelDataDialog.parent, gui_modules.location_wizard.RegionDef.parent, gui_modules.dbm.TableListCtrl.parent, gui_modules.dbm.LayerListCtrl.parent, gui_modules.dbm.LayerBook.parent, gui_modules.gcpmanager.GrSettingsDialog.parent, gui_modules.preferences.CheckListMapset.parent, gui_modules.gmodeler.ModelSearchDialog.parent, gui_modules.gmodeler.ModelRelation.parent, gui_modules.gmodeler.ModelRelationDialog.parent, gui_modules.psmap_dialogs.VectorPanel.parent, gui_modules.gmodeler.ModelParamDialog.parent, gui_modules.gmodeler.ModelListCtrl.parent, gui_modules.gmodeler.VariablePanel.parent, gui_modules.gmodeler.ModelItem.parent, gui_modules.gmodeler.ModelItemDialog.parent, gui_modules.gmodeler.ItemPanel.parent, and gui_modules.gmodeler.ItemCheckListCtrl.parent.
| def wxgui.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 300 of file wxgui.py.
References wxgui.GMFrame._setCopyingOfSelectedText().
Referenced by wxgui.GMFrame.OnPreferences().
| def wxgui.GMFrame.OnShowAttributeTable | ( | self, | |
| event, | |||
selection = 0 |
|||
| ) |
Show attribute table of the given vector map layer.
Definition at line 1186 of file wxgui.py.
References wxgui.GMFrame.curr_page, wxgui.GMFrame.dialogs, gui_modules.mapdisp.MapFrame.dialogs, gui_modules.gcpmapdisp.MapFrame.dialogs, wxgui.GMFrame.GetLayerTree(), vkrige.KrigingPanel.goutput, wxgui.GMFrame.goutput, gui_modules.menuform.mainFrame.goutput, gui_modules.gmodeler.ModelFrame.goutput, gui_modules.menuform.cmdPanel.goutput, and wxgui.GMFrame.MsgNoLayerSelected().
Referenced by wxgui.GMFrame.OnNewVector().
| def wxgui.GMFrame.OnUninstallExtension | ( | self, | |
| event | |||
| ) |
| def wxgui.GMFrame.OnVDigit | ( | self, | |
| event | |||
| ) |
Start vector digitizer.
Definition at line 494 of file wxgui.py.
References wxgui.GMFrame.curr_page, wxgui.GMFrame.GetLayerTree(), and wxgui.GMFrame.MsgNoLayerSelected().
| def wxgui.GMFrame.OnVectorCleaning | ( | self, | |
| event, | |||
cmd = '' |
|||
| ) |
Init interactive vector cleaning.
Definition at line 1114 of file wxgui.py.
References wxgui.GMFrame.GetMenuCmd().
| def wxgui.GMFrame.OnWorkspaceClose | ( | self, | |
event = None |
|||
| ) |
Close file with workspace definition.
If workspace has been modified ask user to save the changes.
Definition at line 945 of file wxgui.py.
References wxgui.GMFrame.baseTitle, gui_modules.gmodeler.ModelFrame.baseTitle, wxgui.GMFrame.curr_page, gui_modules.layertree.LayerTree.disp_idx, wxgui.GMFrame.disp_idx, wxgui.GMFrame.OnDisplayCloseAll(), wxgui.GMFrame.workspaceChanged, and wxgui.GMFrame.workspaceFile.
Referenced by wxgui.GMFrame.OnChangeLocation(), and wxgui.GMFrame.OnWorkspaceOpen().
| def wxgui.GMFrame.OnWorkspaceLoadGrcFile | ( | self, | |
| event | |||
| ) |
Load map layers from GRC file (Tcl/Tk GUI) into map layer tree.
Definition at line 832 of file wxgui.py.
References wxgui.GMFrame.curr_page, and wxgui.GMFrame.NewDisplay().
| def wxgui.GMFrame.OnWorkspaceNew | ( | self, | |
event = None |
|||
| ) |
Create new workspace file.
Erase current workspace settings first
Definition at line 651 of file wxgui.py.
References wxgui.GMFrame.baseTitle, gui_modules.gmodeler.ModelFrame.baseTitle, wxgui.GMFrame.curr_page, wxgui.GMFrame.NewDisplay(), wxgui.GMFrame.OnWorkspaceSave(), wxgui.GMFrame.OnWorkspaceSaveAs(), wxgui.GMFrame.workspaceChanged, and wxgui.GMFrame.workspaceFile.
Referenced by wxgui.GMFrame.OnChangeLocation().
| def wxgui.GMFrame.OnWorkspaceOpen | ( | self, | |
event = None |
|||
| ) |
Open file with workspace definition.
Definition at line 695 of file wxgui.py.
References wxgui.GMFrame.baseTitle, gui_modules.gmodeler.ModelFrame.baseTitle, wxgui.GMFrame.LoadWorkspaceFile(), wxgui.GMFrame.OnWorkspaceClose(), and wxgui.GMFrame.workspaceFile.
| def wxgui.GMFrame.OnWorkspaceSave | ( | self, | |
event = None |
|||
| ) |
Save file with workspace definition.
Definition at line 900 of file wxgui.py.
References wxgui.GMFrame.baseTitle, gui_modules.gmodeler.ModelFrame.baseTitle, wxgui.GMFrame.OnWorkspaceSaveAs(), wxgui.GMFrame.SaveToWorkspaceFile(), wxgui.GMFrame.workspaceChanged, and wxgui.GMFrame.workspaceFile.
Referenced by wxgui.GMFrame.OnWorkspaceNew().
| def wxgui.GMFrame.OnWorkspaceSaveAs | ( | self, | |
event = None |
|||
| ) |
Save workspace definition to selected file.
Definition at line 870 of file wxgui.py.
References wxgui.GMFrame.baseTitle, gui_modules.gmodeler.ModelFrame.baseTitle, wxgui.GMFrame.SaveToWorkspaceFile(), and wxgui.GMFrame.workspaceFile.
Referenced by wxgui.GMFrame.OnCBPageClosed(), gui_modules.gmodeler.ModelFrame.OnCloseWindow(), wxgui.GMFrame.OnCloseWindow(), wxgui.GMFrame.OnWorkspaceNew(), and wxgui.GMFrame.OnWorkspaceSave().
| def wxgui.GMFrame.OnXTerm | ( | self, | |
| event, | |||
need_xmon = True |
|||
| ) |
Run commands that need interactive xmon.
| need_xmon | True to start X monitor |
Definition at line 994 of file wxgui.py.
References wxgui.GMFrame.GetMenuCmd().
Referenced by wxgui.GMFrame.OnXTermNoXMon().
| def wxgui.GMFrame.OnXTermNoXMon | ( | self, | |
| event | |||
| ) |
Run commands that need xterm.
Definition at line 988 of file wxgui.py.
References wxgui.GMFrame.OnXTerm().
| def wxgui.GMFrame.RemoveNviz | ( | self | ) |
| def wxgui.GMFrame.RulesCmd | ( | self, | |
| event | |||
| ) |
Launches dialog for commands that need rules input and processes rules.
Definition at line 975 of file wxgui.py.
References wxgui.GMFrame.GetMenuCmd().
| def wxgui.GMFrame.RunMenuCmd | ( | self, | |
event = None, |
|||
cmd = [] |
|||
| ) |
Run command selected from menu.
Definition at line 482 of file wxgui.py.
References wxgui.GMFrame.GetMenuCmd().
| def wxgui.GMFrame.SaveToWorkspaceFile | ( | self, | |
| filename | |||
| ) |
Save layer tree layout to workspace file.
Return True on success, False on error
Definition at line 917 of file wxgui.py.
Referenced by wxgui.GMFrame.OnCBPageClosed(), wxgui.GMFrame.OnCloseWindow(), wxgui.GMFrame.OnWorkspaceSave(), and wxgui.GMFrame.OnWorkspaceSaveAs().
| def wxgui.GMFrame.WorkspaceChanged | ( | self | ) |
Update window title.
Definition at line 292 of file wxgui.py.
References wxgui.GMFrame.baseTitle, gui_modules.gmodeler.ModelFrame.baseTitle, wxgui.GMFrame.workspaceChanged, and wxgui.GMFrame.workspaceFile.
| wxgui.GMFrame.baseTitle |
Definition at line 101 of file wxgui.py.
Referenced by wxgui.GMFrame.OnWorkspaceClose(), wxgui.GMFrame.OnWorkspaceNew(), wxgui.GMFrame.OnWorkspaceOpen(), wxgui.GMFrame.OnWorkspaceSave(), wxgui.GMFrame.OnWorkspaceSaveAs(), and wxgui.GMFrame.WorkspaceChanged().
| wxgui.GMFrame.curr_page |
Definition at line 116 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAddCommand(), wxgui.GMFrame.OnAddGroup(), wxgui.GMFrame.OnAddLabels(), wxgui.GMFrame.OnAddMaps(), wxgui.GMFrame.OnAddOverlay(), wxgui.GMFrame.OnAddRaster(), wxgui.GMFrame.OnAddRaster3D(), wxgui.GMFrame.OnAddRasterMisc(), wxgui.GMFrame.OnAddVector(), wxgui.GMFrame.OnAddVectorMisc(), wxgui.GMFrame.OnCBPageChanged(), wxgui.GMFrame.OnCBPageClosed(), wxgui.GMFrame.OnCloseWindow(), wxgui.GMFrame.OnDeleteLayer(), wxgui.GMFrame.OnDisplayClose(), wxgui.GMFrame.OnShowAttributeTable(), wxgui.GMFrame.OnVDigit(), wxgui.GMFrame.OnWorkspaceClose(), wxgui.GMFrame.OnWorkspaceLoadGrcFile(), and wxgui.GMFrame.OnWorkspaceNew().
| wxgui.GMFrame.curr_pagenum |
Definition at line 117 of file wxgui.py.
Referenced by wxgui.GMFrame.OnCBPageChanged(), and wxgui.GMFrame.OnCBPageClosed().
| wxgui.GMFrame.dialogs |
Definition at line 123 of file wxgui.py.
Referenced by wxgui.GMFrame.OnPreferences(), and wxgui.GMFrame.OnShowAttributeTable().
| wxgui.GMFrame.disp_idx |
Definition at line 115 of file wxgui.py.
Referenced by wxgui.GMFrame.NewDisplay(), and wxgui.GMFrame.OnWorkspaceClose().
| wxgui.GMFrame.goutput |
Definition at line 253 of file wxgui.py.
Referenced by wxgui.GMFrame.GetLogWindow(), wxgui.GMFrame.OnDone(), wxgui.GMFrame.OnNewVector(), and wxgui.GMFrame.OnShowAttributeTable().
| wxgui.GMFrame.iconsize |
Definition at line 102 of file wxgui.py.
Referenced by wxgui.GMFrame.OnAboutGRASS().
| wxgui.GMFrame.menucmd |
Definition at line 234 of file wxgui.py.
Referenced by wxgui.GMFrame.GetMenuCmd().
| wxgui.GMFrame.model |
Definition at line 356 of file wxgui.py.
Referenced by wxgui.GMFrame.OnDone().
| wxgui.GMFrame.notebook |
Definition at line 130 of file wxgui.py.
Referenced by gui_modules.gmodeler.PreferencesDialog.__init__().
| wxgui.GMFrame.nviz |
Definition at line 280 of file wxgui.py.
Referenced by wxgui.GMFrame.RemoveNviz().
| wxgui.GMFrame.parent |
Definition at line 100 of file wxgui.py.
Referenced by wxgui.GMFrame.OnPsMap().
| wxgui.GMFrame.toolbars |
Definition at line 131 of file wxgui.py.
Referenced by gui_modules.gcpmanager.GCP.OnDispResize(), and gui_modules.gcpmanager.GCP.UpdateActive().
| wxgui.GMFrame.workspaceChanged |
Definition at line 119 of file wxgui.py.
Referenced by wxgui.GMFrame.OnCloseWindow(), wxgui.GMFrame.OnWorkspaceClose(), wxgui.GMFrame.OnWorkspaceNew(), wxgui.GMFrame.OnWorkspaceSave(), and wxgui.GMFrame.WorkspaceChanged().
| wxgui.GMFrame.workspaceFile |
Definition at line 118 of file wxgui.py.
Referenced by wxgui.GMFrame.OnCBPageClosed(), wxgui.GMFrame.OnCloseWindow(), wxgui.GMApp.OnInit(), wxgui.GMFrame.OnWorkspaceClose(), wxgui.GMFrame.OnWorkspaceNew(), wxgui.GMFrame.OnWorkspaceOpen(), wxgui.GMFrame.OnWorkspaceSave(), wxgui.GMFrame.OnWorkspaceSaveAs(), and wxgui.GMFrame.WorkspaceChanged().