GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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
 Return GRASS variable (read from GISRC) More...
 
def OnWizard
 Location wizard started. More...
 
def SetDefaultRegion
 Asks to set default region. More...
 
def ImportFile
 Tries to import file as vector or raster. More...
 
def OnManageLoc
 Location management choice control handler. More...
 
def RenameMapset
 Rename selected mapset. More...
 
def RenameLocation
 Rename selected location. More...
 
def DeleteMapset
 Delete selected mapset. More...
 
def DeleteLocation
 
def UpdateLocations
 Update list of locations. More...
 
def UpdateMapsets
 Update list of mapsets. More...
 
def OnSelectLocation
 Location selected. More...
 
def OnSelectMapset
 Mapset selected. More...
 
def OnSetDatabase
 Database set. More...
 
def OnBrowse
 
def OnCreateMapset
 Create new mapset. More...
 
def CreateNewMapset
 
def OnStart
 
def SetLocation
 
def ExitSuccessfully
 
def OnExit
 
def OnHelp
 
def OnCloseWindow
 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 55 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 57 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 900 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 400 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 466 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 778 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 916 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 904 of file gis_set.py.

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

Definition at line 909 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 760 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 449 of file gis_set.py.

Referenced by gis_set.GRASSStartup.OnWizard().

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

Definition at line 881 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 139 of file gis_set.py.

gis_set.GRASSStartup.bexit

Definition at line 136 of file gis_set.py.

gis_set.GRASSStartup.bhelp

Definition at line 138 of file gis_set.py.

gis_set.GRASSStartup.bmapset

Definition at line 141 of file gis_set.py.

gis_set.GRASSStartup.bstart

Definition at line 133 of file gis_set.py.

gis_set.GRASSStartup.bwizard

Definition at line 143 of file gis_set.py.

gis_set.GRASSStartup.FormerMapsetSelection

Definition at line 675 of file gis_set.py.

Referenced by gis_set.GRASSStartup.OnSelectMapset().

gis_set.GRASSStartup.gisbase

Definition at line 62 of file gis_set.py.

Referenced by gis_set.GRASSStartup.OnHelp().

gis_set.GRASSStartup.grassrc

Definition at line 63 of file gis_set.py.

Referenced by gis_set.GRASSStartup.GetRCValue().

gis_set.GRASSStartup.hbitmap

Definition at line 89 of file gis_set.py.

gis_set.GRASSStartup.lblocations

Definition at line 158 of file gis_set.py.

gis_set.GRASSStartup.lbmapsets

Definition at line 166 of file gis_set.py.

gis_set.GRASSStartup.lcreate

Definition at line 122 of file gis_set.py.

gis_set.GRASSStartup.ldbase

Definition at line 114 of file gis_set.py.

gis_set.GRASSStartup.ldefine

Definition at line 125 of file gis_set.py.

gis_set.GRASSStartup.listOfMapsetsSelectable
gis_set.GRASSStartup.llocation

Definition at line 116 of file gis_set.py.

gis_set.GRASSStartup.lmanageloc

Definition at line 128 of file gis_set.py.

gis_set.GRASSStartup.lmapset

Definition at line 119 of file gis_set.py.

gis_set.GRASSStartup.locale

Definition at line 75 of file gis_set.py.

gis_set.GRASSStartup.ltitle

Definition at line 110 of file gis_set.py.

gis_set.GRASSStartup.lwelcome

Definition at line 106 of file gis_set.py.

gis_set.GRASSStartup.manage_box

Definition at line 104 of file gis_set.py.

gis_set.GRASSStartup.manageloc

Definition at line 148 of file gis_set.py.

gis_set.GRASSStartup.select_box

crashes when LOCATION doesn't exist

Definition at line 101 of file gis_set.py.

gis_set.GRASSStartup.tgisdbase

Definition at line 154 of file gis_set.py.


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