GRASS Programmer's Manual  6.4.4(2014)-r
gis_set.GRASSStartup Class Reference

GRASS start-up screen. More...

Inheritance diagram for gis_set.GRASSStartup:
Collaboration diagram for gis_set.GRASSStartup:

Public Member Functions

def __init__
 
def GetRCValue (self, value)
 Return GRASS variable (read from GISRC) More...
 
def OnWizard (self, event)
 Location wizard started. More...
 
def SetDefaultRegion (self, location)
 Asks to set default region. More...
 
def ImportFile (self, filePath)
 Tries to import file as vector or raster. More...
 
def OnManageLoc (self, event)
 Location management choice control handler. More...
 
def RenameMapset (self)
 Rename selected mapset. More...
 
def RenameLocation (self)
 Rename selected location. More...
 
def DeleteMapset (self)
 Delete selected mapset. More...
 
def DeleteLocation (self)
 
def UpdateLocations (self, dbase)
 Update list of locations. More...
 
def UpdateMapsets (self, location)
 Update list of mapsets. More...
 
def OnSelectLocation (self, event)
 Location selected. More...
 
def OnSelectMapset (self, event)
 Mapset selected. More...
 
def OnSetDatabase (self, event)
 Database set. More...
 
def OnBrowse (self, event)
 
def OnCreateMapset (self, event)
 Create new mapset. More...
 
def CreateNewMapset (self, mapset)
 
def OnStart (self, event)
 
def SetLocation (self, dbase, location, mapset)
 
def ExitSuccessfully (self)
 
def OnExit (self, event)
 
def OnHelp (self, event)
 
def OnCloseWindow (self, event)
 Close window event. More...
 

Data Fields

 gisbase
 
 grassrc
 
 gisdbase
 
 listOfLocations
 
 listOfMapsets
 
 listOfMapsetsSelectable
 
 locale
 
 panel
 
 hbitmap
 
 select_box
 crashes when LOCATION doesn't exist More...
 
 manage_box
 
 lwelcome
 
 ltitle
 
 ldbase
 
 llocation
 
 lmapset
 
 lcreate
 
 ldefine
 
 lmanageloc
 
 bstart
 
 bexit
 
 bhelp
 
 bbrowse
 
 bmapset
 
 bwizard
 
 manageloc
 
 tgisdbase
 
 lblocations
 
 lbmapsets
 
 FormerMapsetSelection
 

Detailed Description

GRASS start-up screen.

Definition at line 53 of file gis_set.py.

Constructor & Destructor Documentation

def gis_set.GRASSStartup.__init__ (   self,
  parent = None,
  id = wx.ID_ANY,
  style = wx.DEFAULT_FRAME_STYLE 
)

Definition at line 55 of file gis_set.py.

Member Function Documentation

def gis_set.GRASSStartup.DeleteLocation (   self)
def gis_set.GRASSStartup.DeleteMapset (   self)
def gis_set.GRASSStartup.ExitSuccessfully (   self)

Definition at line 896 of file gis_set.py.

Referenced by gis_set.GRASSStartup.OnStart().

def gis_set.GRASSStartup.GetRCValue (   self,
  value 
)

Return GRASS variable (read from GISRC)

Definition at line 391 of file gis_set.py.

References gis_set.GRASSStartup.grassrc.

def gis_set.GRASSStartup.ImportFile (   self,
  filePath 
)

Tries to import file as vector or raster.

If successfull sets default region from imported map.

Definition at line 456 of file gis_set.py.

References gcmd.RunCommand().

Referenced by gis_set.GRASSStartup.OnWizard().

def gis_set.GRASSStartup.OnBrowse (   self,
  event 
)
'Browse' button clicked

Definition at line 774 of file gis_set.py.

References gis_set.GRASSStartup.gisdbase, and gis_set.GRASSStartup.OnSetDatabase().

def gis_set.GRASSStartup.OnCloseWindow (   self,
  event 
)

Close window event.

Definition at line 912 of file gis_set.py.

Referenced by ghelp.AboutWindow.__init__().

def gis_set.GRASSStartup.OnCreateMapset (   self,
  event 
)
def gis_set.GRASSStartup.OnExit (   self,
  event 
)
'Exit' button clicked

Definition at line 900 of file gis_set.py.

def gis_set.GRASSStartup.OnHelp (   self,
  event 
)
'Help' button clicked

Definition at line 905 of file gis_set.py.

References gis_set.GRASSStartup.gisbase.

Referenced by forms.TaskFrame.OnKeyUp(), and gis_set.GRASSStartup.OnWizard().

def gis_set.GRASSStartup.OnManageLoc (   self,
  event 
)
def gis_set.GRASSStartup.OnSelectMapset (   self,
  event 
)

Mapset selected.

Definition at line 756 of file gis_set.py.

References gis_set.GRASSStartup.FormerMapsetSelection, and gis_set.GRASSStartup.listOfMapsetsSelectable.

def gis_set.GRASSStartup.OnSetDatabase (   self,
  event 
)
def gis_set.GRASSStartup.OnStart (   self,
  event 
)
def gis_set.GRASSStartup.SetDefaultRegion (   self,
  location 
)

Asks to set default region.

Definition at line 439 of file gis_set.py.

Referenced by gis_set.GRASSStartup.OnWizard().

def gis_set.GRASSStartup.SetLocation (   self,
  dbase,
  location,
  mapset 
)

Definition at line 877 of file gis_set.py.

References gcmd.RunCommand().

Referenced by gis_set.GRASSStartup.OnStart(), and gis_set.GRASSStartup.OnWizard().

def gis_set.GRASSStartup.UpdateLocations (   self,
  dbase 
)
def gis_set.GRASSStartup.UpdateMapsets (   self,
  location 
)

Field Documentation

gis_set.GRASSStartup.bbrowse

Definition at line 137 of file gis_set.py.

gis_set.GRASSStartup.bexit

Definition at line 134 of file gis_set.py.

gis_set.GRASSStartup.bhelp

Definition at line 136 of file gis_set.py.

gis_set.GRASSStartup.bmapset

Definition at line 139 of file gis_set.py.

gis_set.GRASSStartup.bstart

Definition at line 131 of file gis_set.py.

gis_set.GRASSStartup.bwizard

Definition at line 141 of file gis_set.py.

gis_set.GRASSStartup.FormerMapsetSelection

Definition at line 671 of file gis_set.py.

Referenced by gis_set.GRASSStartup.OnSelectMapset().

gis_set.GRASSStartup.gisbase

Definition at line 60 of file gis_set.py.

Referenced by gis_set.GRASSStartup.OnHelp().

gis_set.GRASSStartup.grassrc

Definition at line 61 of file gis_set.py.

Referenced by gis_set.GRASSStartup.GetRCValue().

gis_set.GRASSStartup.hbitmap

Definition at line 87 of file gis_set.py.

gis_set.GRASSStartup.lblocations

Definition at line 156 of file gis_set.py.

gis_set.GRASSStartup.lbmapsets

Definition at line 164 of file gis_set.py.

gis_set.GRASSStartup.lcreate

Definition at line 120 of file gis_set.py.

gis_set.GRASSStartup.ldbase

Definition at line 112 of file gis_set.py.

gis_set.GRASSStartup.ldefine

Definition at line 123 of file gis_set.py.

gis_set.GRASSStartup.listOfMapsetsSelectable
gis_set.GRASSStartup.llocation

Definition at line 114 of file gis_set.py.

gis_set.GRASSStartup.lmanageloc

Definition at line 126 of file gis_set.py.

gis_set.GRASSStartup.lmapset

Definition at line 117 of file gis_set.py.

gis_set.GRASSStartup.locale

Definition at line 73 of file gis_set.py.

gis_set.GRASSStartup.ltitle

Definition at line 108 of file gis_set.py.

gis_set.GRASSStartup.lwelcome

Definition at line 104 of file gis_set.py.

gis_set.GRASSStartup.manage_box

Definition at line 102 of file gis_set.py.

gis_set.GRASSStartup.manageloc

Definition at line 146 of file gis_set.py.

gis_set.GRASSStartup.select_box

crashes when LOCATION doesn't exist

Definition at line 99 of file gis_set.py.

gis_set.GRASSStartup.tgisdbase

Definition at line 152 of file gis_set.py.


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