GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
frame.GMFrame Class Reference

Layer Manager frame with notebook widget for controlling GRASS GIS. More...

Inheritance diagram for frame.GMFrame:
Collaboration diagram for frame.GMFrame:

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 GetLayerNotebook
 Get Layers Notebook. More...
 
def GetLayerTree
 Get current layer tree. More...
 
def GetMapDisplay
 Get current map display. 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 OnRasterRules
 Launches dialog for raster color rules. More...
 
def OnVectorRules
 Launches dialog for vector color 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...
 

Data Fields

 parent
 
 baseTitle
 
 iconsize
 
 displayIndex
 
 currentPage
 
 currentPageNum
 
 workspaceFile
 
 workspaceChanged
 
 georectifying
 
 gcpmanagement
 
 dialogs
 
 statusbar
 
 notebook
 
 toolbars
 
 menubar
 
 menucmd
 
 notebookLayers
 
 goutput
 
 search
 
 pyshell
 
 nviz
 
 model
 
 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 71 of file lmgr/frame.py.

Constructor & Destructor Documentation

def frame.GMFrame.__init__ (   self,
  parent,
  id = wx.ID_ANY,
  title = None,
  workspace = None,
  size = globalvar.GM_WINDOW_SIZE,
  style = wx.DEFAULT_FRAME_STYLE,
  kwargs 
)

Definition at line 78 of file lmgr/frame.py.

Member Function Documentation

def frame.GMFrame.AddNvizTools (   self)

Add nviz notebook page.

Definition at line 286 of file lmgr/frame.py.

def frame.GMFrame.GetLayerNotebook (   self)

Get Layers Notebook.

Definition at line 504 of file lmgr/frame.py.

References frame.GMFrame.notebookLayers.

def frame.GMFrame.GetLogWindow (   self)

Get widget for command output.

Definition at line 541 of file lmgr/frame.py.

References frame.ModelFrame.goutput, frame.GMFrame.goutput, forms.TaskFrame.goutput, and forms.CmdPanel.goutput.

def frame.GMFrame.GetMapDisplay (   self,
  onlyCurrent = True 
)

Get current map display.

Parameters
onlyCurrentTrue to return only active mapdisplay False for list of all mapdisplays
Returns
MapFrame instance (or list)
None no mapdisplay selected

Definition at line 518 of file lmgr/frame.py.

References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), and tools.range.

Referenced by layertree.LayerTree.ChangeLayerOpacity(), frame.GMFrame.OnAddCommand(), frame.GMFrame.OnAddGroup(), frame.GMFrame.OnAddLabels(), frame.GMFrame.OnAddOverlay(), frame.GMFrame.OnAddRasterMisc(), frame.GMFrame.OnAddVectorMisc(), frame.GMFrame.OnCBPageChanged(), frame.GMFrame.OnDisplayClose(), and frame.GMFrame.OnRenameDisplay().

def frame.GMFrame.GetMenuCmd (   self,
  event 
)

Get GRASS command from menu item.

Return command as a list

Definition at line 545 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree(), menu.Menu.menucmd, and frame.GMFrame.menucmd.

Referenced by frame.GMFrame.OnMapCalculator(), frame.GMFrame.OnMenuCmd(), frame.GMFrame.OnXTerm(), and frame.GMFrame.RunMenuCmd().

def frame.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 915 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.

Parameters
limitTextadds a note about cell limit

Definition at line 1867 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 1860 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 
)
def frame.GMFrame.OnAboutGRASS (   self,
  event 
)

Display 'About GRASS' dialog.

Definition at line 818 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 1690 of file lmgr/frame.py.

References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), frame.GMFrame.GetMapDisplay(), 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 1719 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

Referenced by frame.GMFrame.OnAddOverlay().

def frame.GMFrame.OnAddGrid (   self,
  event 
)

Add grid map layer to the current layer tree.

Definition at line 1714 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

Referenced by frame.GMFrame.OnAddOverlay().

def frame.GMFrame.OnAddGroup (   self,
  event 
)
def frame.GMFrame.OnAddLabels (   self,
  event 
)

Add vector labels map layer to the current layer tree.

Definition at line 1729 of file lmgr/frame.py.

References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), frame.GMFrame.GetMapDisplay(), 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 1526 of file lmgr/frame.py.

References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), and frame.GMFrame.NewDisplay().

def frame.GMFrame.OnAddRaster (   self,
  event 
)

Add raster map layer.

Definition at line 1564 of file lmgr/frame.py.

References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), 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 1639 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

Referenced by frame.GMFrame.OnAddRasterMisc().

def frame.GMFrame.OnAddRasterArrow (   self,
  event 
)

Add flow arrows raster map to the current layer tree.

Definition at line 1659 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree(), and 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 1649 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

Referenced by frame.GMFrame.OnAddRasterMisc().

def frame.GMFrame.OnAddRasterNum (   self,
  event 
)

Add cell number raster map to the current layer tree.

Definition at line 1672 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree(), and 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 1644 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

Referenced by frame.GMFrame.OnAddRasterMisc().

def frame.GMFrame.OnAddRasterShaded (   self,
  event 
)

Add shaded relief raster map to the current layer tree.

Definition at line 1654 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

Referenced by frame.GMFrame.OnAddRasterMisc().

def frame.GMFrame.OnAddRhumb (   self,
  event 
)

Add rhumb map layer to the current layer tree.

Definition at line 1724 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

Referenced by frame.GMFrame.OnAddOverlay().

def frame.GMFrame.OnAddVector (   self,
  event 
)

Add vector map to the current layer tree.

Definition at line 1592 of file lmgr/frame.py.

References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), 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 1618 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

Referenced by frame.GMFrame.OnAddVectorMisc().

def frame.GMFrame.OnAddVectorMisc (   self,
  event 
)
def frame.GMFrame.OnAddVectorTheme (   self,
  event 
)

Add thematic vector map to the current layer tree.

Definition at line 1613 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

Referenced by frame.GMFrame.OnAddVectorMisc().

def frame.GMFrame.OnCBPageChanged (   self,
  event 
)

Page in notebook (display) changed.

Definition at line 441 of file lmgr/frame.py.

References frame.GMFrame.currentPage, frame.GMFrame.currentPageNum, and frame.GMFrame.GetMapDisplay().

def frame.GMFrame.OnCBPageClosed (   self,
  event 
)
def frame.GMFrame.OnChangeLocation (   self,
  event 
)
Change current location

Definition at line 692 of file lmgr/frame.py.

References frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceNew(), and gcmd.RunCommand().

def frame.GMFrame.OnChangeMapset (   self,
  event 
)
Change current mapset

Definition at line 738 of file lmgr/frame.py.

References gcmd.RunCommand().

def frame.GMFrame.OnCreateMapset (   self,
  event 
)

Create new mapset.

Definition at line 717 of file lmgr/frame.py.

References gcmd.RunCommand().

def frame.GMFrame.OnDeleteLayer (   self,
  event 
)

Remove selected map layer from the current layer Tree.

Definition at line 1741 of file lmgr/frame.py.

References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), and frame.GMFrame.MsgNoLayerSelected().

def frame.GMFrame.OnDisplayClose (   self,
  event = None 
)

Close current map display window.

Definition at line 1172 of file lmgr/frame.py.

References frame.GMFrame.currentPage, frame.GMFrame.GetMapDisplay(), and frame.GMFrame.OnCloseWindow().

def frame.GMFrame.OnDisplayCloseAll (   self,
  event = None 
)

Close all open map display windows.

Definition at line 1178 of file lmgr/frame.py.

References tools.range.

Referenced by frame.GMFrame.OnCloseWindow(), and frame.GMFrame.OnWorkspaceClose().

def frame.GMFrame.OnEditImageryGroups (   self,
  event,
  cmd = None 
)

Show dialog for creating and editing groups.

Definition at line 1278 of file lmgr/frame.py.

def frame.GMFrame.OnGCPManager (   self,
  event 
)

Launch georectifier module.

Definition at line 383 of file lmgr/frame.py.

def frame.GMFrame.OnGModeler (   self,
  event 
)

Launch Graphical Modeler.

Definition at line 388 of file lmgr/frame.py.

def frame.GMFrame.OnHelp (   self,
  event 
)

Show help.

Definition at line 1309 of file lmgr/frame.py.

def frame.GMFrame.OnHistogram (   self,
  event 
)

Init histogram display canvas and tools.

Definition at line 1314 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 1357 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 1363 of file lmgr/frame.py.

Referenced by frame.GMFrame.OnImportMenu().

def frame.GMFrame.OnImportMenu (   self,
  event 
)

Import maps menu (import, link)

Definition at line 843 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 1375 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 1387 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

def frame.GMFrame.OnInstallExtension (   self,
  event 
)

Install extension from GRASS Addons SVN repository.

Definition at line 1285 of file lmgr/frame.py.

def frame.GMFrame.OnKeyDown (   self,
  event 
)

Key pressed.

Definition at line 1781 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 1369 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 1381 of file lmgr/frame.py.

def frame.GMFrame.OnLocationWizard (   self,
  event 
)

Launch location wizard.

Definition at line 329 of file lmgr/frame.py.

References gcmd.RunCommand().

def frame.GMFrame.OnMapCalculator (   self,
  event,
  cmd = '' 
)

Init map calculator for interactive creation of mapcalc statements.

Definition at line 1335 of file lmgr/frame.py.

References frame.GMFrame.GetMenuCmd().

def frame.GMFrame.OnMapsets (   self,
  event 
)

Launch mapset access dialog.

Definition at line 429 of file lmgr/frame.py.

References gcmd.RunCommand().

def frame.GMFrame.OnMenuCmd (   self,
  event = None,
  cmd = [] 
)

Parse command selected from menu.

Definition at line 588 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 1470 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 1466 of file lmgr/frame.py.

def frame.GMFrame.OnNewVector (   self,
  event 
)
def frame.GMFrame.OnPageChanged (   self,
  event 
)

Page in notebook changed.

Definition at line 453 of file lmgr/frame.py.

def frame.GMFrame.OnPreferences (   self,
  event 
)

General GUI preferences/settings.

Definition at line 1297 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 1325 of file lmgr/frame.py.

def frame.GMFrame.OnPsMap (   self,
  event 
)

Launch Cartographic Composer.

Definition at line 395 of file lmgr/frame.py.

def frame.GMFrame.OnRasterRules (   self,
  event 
)

Launches dialog for raster color rules.

Definition at line 1203 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

def frame.GMFrame.OnRenameDisplay (   self,
  event 
)

Change Map Display name.

Definition at line 1188 of file lmgr/frame.py.

References frame.GMFrame.currentPageNum, and frame.GMFrame.GetMapDisplay().

def frame.GMFrame.OnRunModel (   self,
  event 
)

Run model.

Definition at line 410 of file lmgr/frame.py.

def frame.GMFrame.OnRunScript (   self,
  event 
)

Run script.

Definition at line 633 of file lmgr/frame.py.

References utils.SetAddOnPath().

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 376 of file lmgr/frame.py.

References frame.GMFrame._setCopyingOfSelectedText().

Referenced by frame.GMFrame.OnPreferences().

def frame.GMFrame.OnShowAttributeTable (   self,
  event,
  selection = None 
)
def frame.GMFrame.OnSystemInfo (   self,
  event 
)

Print system information.

Definition at line 775 of file lmgr/frame.py.

References gcmd.RunCommand().

def frame.GMFrame.OnUninstallExtension (   self,
  event 
)

Uninstall extension.

Definition at line 1291 of file lmgr/frame.py.

def frame.GMFrame.OnVDigit (   self,
  event 
)

Start vector digitizer.

Definition at line 594 of file lmgr/frame.py.

References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), and frame.GMFrame.MsgNoLayerSelected().

def frame.GMFrame.OnVectorCleaning (   self,
  event,
  cmd = '' 
)

Init interactive vector cleaning.

Definition at line 1349 of file lmgr/frame.py.

def frame.GMFrame.OnVectorRules (   self,
  event 
)

Launches dialog for vector color rules.

Definition at line 1210 of file lmgr/frame.py.

References frame.GMFrame.GetLayerTree().

def frame.GMFrame.OnWorkspaceClose (   self,
  event = None 
)
def frame.GMFrame.OnWorkspaceLoadGrcFile (   self,
  event 
)

Load map layers from GRC file (Tcl/Tk GUI) into map layer tree.

Definition at line 1045 of file lmgr/frame.py.

References frame.GMFrame.currentPage, and frame.GMFrame.NewDisplay().

def frame.GMFrame.OnWorkspaceNew (   self,
  event = None 
)
def frame.GMFrame.OnWorkspaceOpen (   self,
  event = None 
)
def frame.GMFrame.OnWorkspaceSave (   self,
  event = None 
)
def frame.GMFrame.OnWorkspaceSaveAs (   self,
  event = None 
)
def frame.GMFrame.OnXTerm (   self,
  event,
  need_xmon = True 
)

Run commands that need interactive xmon.

Parameters
need_xmonTrue to start X monitor

Definition at line 1224 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 1218 of file lmgr/frame.py.

References frame.GMFrame.OnXTerm().

def frame.GMFrame.RemoveNvizTools (   self)

Remove nviz notebook page.

Definition at line 309 of file lmgr/frame.py.

def frame.GMFrame.RunMenuCmd (   self,
  event = None,
  cmd = [] 
)

Run command selected from menu.

Definition at line 582 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 1130 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)

Field Documentation

frame.GMFrame.currentPageNum
frame.GMFrame.displayIndex

Definition at line 96 of file lmgr/frame.py.

Referenced by frame.GMFrame.NewDisplay(), and frame.GMFrame.OnWorkspaceClose().

frame.GMFrame.gcpmanagement

Definition at line 102 of file lmgr/frame.py.

frame.GMFrame.georectifying

Definition at line 101 of file lmgr/frame.py.

frame.GMFrame.iconsize

Definition at line 84 of file lmgr/frame.py.

Referenced by frame.GMFrame.OnAboutGRASS().

frame.GMFrame.menubar

Definition at line 220 of file lmgr/frame.py.

frame.GMFrame.menucmd

Definition at line 222 of file lmgr/frame.py.

Referenced by frame.GMFrame.GetMenuCmd().

frame.GMFrame.model

Definition at line 423 of file lmgr/frame.py.

Referenced by frame.GMFrame.OnDone().

frame.GMFrame.notebook

Definition at line 112 of file lmgr/frame.py.

Referenced by frame.GMFrame.IsPaneShown().

frame.GMFrame.notebookLayers

Definition at line 252 of file lmgr/frame.py.

Referenced by frame.GMFrame.GetLayerNotebook().

frame.GMFrame.nviz

Definition at line 302 of file lmgr/frame.py.

frame.GMFrame.pg_panel

Definition at line 1486 of file lmgr/frame.py.

frame.GMFrame.pyshell

Definition at line 274 of file lmgr/frame.py.

frame.GMFrame.search

Definition at line 267 of file lmgr/frame.py.

frame.GMFrame.statusbar

Definition at line 111 of file lmgr/frame.py.


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