GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
wxgui.GMFrame Class Reference

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'.

Data Fields

 parent
 baseTitle
 iconsize
 disp_idx
 curr_page
 curr_pagenum
 workspaceFile
 workspaceChanged
 georectifying
 gcpmanagement
 dialogs
 statusbar
 notebook
 toolbars
 menubar
 menucmd
 gm_cb
 goutput
 search
 pyshell
 nviz
 model
 histogram
 profile
 pg_panel

Detailed Description

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 92 of file wxgui.py.

Constructor & Destructor Documentation

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 
)

Definition at line 99 of file wxgui.py.

Member Function Documentation

def wxgui.GMFrame.AddNviz (   self)

Add nviz notebook page.

Definition at line 278 of file wxgui.py.

def wxgui.GMFrame.DispHistogram (   self,
  event 
)
Init histogram display canvas and tools

Definition at line 1076 of file wxgui.py.

def wxgui.GMFrame.DispProfile (   self,
  event 
)
Init profile canvas and tools

Definition at line 1089 of file wxgui.py.

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)
def wxgui.GMFrame.GetMenuCmd (   self,
  event 
)
def wxgui.GMFrame.LoadWorkspaceFile (   self,
  filename 
)

Load layer tree definition stored in GRASS Workspace XML file (gxw)

Todo:
Validate against DTD
Returns
True on success
False on error

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.OnAboutGRASS (   self,
  event 
)
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 
)
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.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 
)
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 
)
Change current mapset

Definition at line 581 of file wxgui.py.

def wxgui.GMFrame.OnCloseWindow (   self,
  event 
)
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.OnGCPManager (   self,
  event 
)

Launch georectifier module.

Definition at line 307 of file wxgui.py.

def wxgui.GMFrame.OnGModeler (   self,
  event 
)

Launch Graphical Modeler.

Definition at line 313 of file wxgui.py.

def wxgui.GMFrame.OnHelp (   self,
  event 
)

Show help.

Definition at line 1071 of file wxgui.py.

def wxgui.GMFrame.OnImportDxfFile (   self,
  event,
  cmd = None 
)

Convert multiple DXF layers to GRASS vector map layers.

Definition at line 1125 of file wxgui.py.

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 
)

Import data from OGC WMS server.

Definition at line 1155 of file wxgui.py.

def wxgui.GMFrame.OnInstallExtension (   self,
  event 
)

Install extension from GRASS Addons SVN repository.

Definition at line 1047 of file wxgui.py.

def wxgui.GMFrame.OnKeyDown (   self,
  event 
)
def wxgui.GMFrame.OnLinkGdalLayers (   self,
  event,
  cmd = None 
)

Link multiple GDAL layers to GRASS raster map layers.

Definition at line 1137 of file wxgui.py.

def wxgui.GMFrame.OnLinkOgrLayers (   self,
  event,
  cmd = None 
)

Links multiple OGR layers to GRASS vector map layers.

Definition at line 1149 of file wxgui.py.

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 
)

Launch mapset access dialog.

Definition at line 362 of file wxgui.py.

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 
)
def wxgui.GMFrame.OnPageChanged (   self,
  event 
)

Page in notebook changed.

Definition at line 389 of file wxgui.py.

def wxgui.GMFrame.OnPreferences (   self,
  event 
)
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.OnRunModel (   self,
  event 
)

Run model.

Definition at line 343 of file wxgui.py.

def wxgui.GMFrame.OnRunScript (   self,
  event 
)

Run script.

Definition at line 533 of file wxgui.py.

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.OnUninstallExtension (   self,
  event 
)

Uninstall extension.

Definition at line 1053 of file wxgui.py.

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 
)
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 
)
def wxgui.GMFrame.OnWorkspaceOpen (   self,
  event = None 
)
def wxgui.GMFrame.OnWorkspaceSave (   self,
  event = None 
)
def wxgui.GMFrame.OnXTerm (   self,
  event,
  need_xmon = True 
)

Run commands that need interactive xmon.

Parameters
need_xmonTrue 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)

Remove nviz notebook page.

Definition at line 285 of file wxgui.py.

References wxgui.GMFrame.nviz.

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)

Field Documentation

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.gcpmanagement

Definition at line 121 of file wxgui.py.

wxgui.GMFrame.georectifying

Definition at line 120 of file wxgui.py.

wxgui.GMFrame.gm_cb

Definition at line 246 of file wxgui.py.

wxgui.GMFrame.histogram

Definition at line 1080 of file wxgui.py.

wxgui.GMFrame.iconsize

Definition at line 102 of file wxgui.py.

Referenced by wxgui.GMFrame.OnAboutGRASS().

wxgui.GMFrame.menubar

Definition at line 232 of file wxgui.py.

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.pg_panel

Definition at line 1249 of file wxgui.py.

wxgui.GMFrame.profile

Definition at line 1093 of file wxgui.py.

wxgui.GMFrame.pyshell

Definition at line 266 of file wxgui.py.

wxgui.GMFrame.search

Definition at line 259 of file wxgui.py.

wxgui.GMFrame.statusbar

Definition at line 129 of file wxgui.py.

wxgui.GMFrame.toolbars

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