|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
GRASS start-up screen. More...
Public Member Functions | |
| def | __init__ |
| def | GetRCValue |
| Return GRASS variable (read from GISRC) | |
| def | OnWizard |
| Location wizard started. | |
| def | OnManageLoc |
| Location management choice control handler. | |
| def | RenameMapset |
| Rename selected mapset. | |
| def | RenameLocation |
| Rename selected location. | |
| def | DeleteMapset |
| Delete selected mapset. | |
| def | DeleteLocation |
| def | UpdateLocations |
| Update list of locations. | |
| def | UpdateMapsets |
| Update list of mapsets. | |
| def | OnSelectLocation |
| Location selected. | |
| def | OnSelectMapset |
| Mapset selected. | |
| def | OnSetDatabase |
| Database set. | |
| def | OnBrowse |
| def | OnCreateMapset |
| Create new mapset. | |
| def | OnStart |
| def | OnExit |
| def | OnHelp |
| def | OnCloseWindow |
| Close window event. | |
Data Fields | |
| gisbase | |
| grassrc | |
| gisdbase | |
| listOfLocations | |
| listOfMapsets | |
| listOfMapsetsSelectable | |
| locale | |
| panel | |
| hbitmap | |
| select_box | |
| crashes when LOCATION doesn't exist | |
| manage_box | |
| lwelcome | |
| ltitle | |
| ldbase | |
| llocation | |
| lmapset | |
| lcreate | |
| ldefine | |
| lmanageloc | |
| bstart | |
| bexit | |
| bhelp | |
| bbrowse | |
| bmapset | |
| bwizard | |
| manageloc | |
| tgisdbase | |
| lblocations | |
| lbmapsets | |
| FormerMapsetSelection | |
GRASS start-up screen.
Definition at line 47 of file gis_set.py.
| def gis_set.GRASSStartup.__init__ | ( | self, | |
parent = None, |
|||
id = wx.ID_ANY, |
|||
style = wx.DEFAULT_FRAME_STYLE |
|||
| ) |
Definition at line 49 of file gis_set.py.
| def gis_set.GRASSStartup.DeleteLocation | ( | self | ) |
Delete selected location
Definition at line 518 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.OnSelectLocation(), and gis_set.GRASSStartup.UpdateLocations().
Referenced by gis_set.GRASSStartup.OnManageLoc().
| def gis_set.GRASSStartup.DeleteMapset | ( | self | ) |
Delete selected mapset.
Definition at line 489 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.listOfMapsets, and gis_set.GRASSStartup.OnSelectLocation().
Referenced by gis_set.GRASSStartup.OnManageLoc().
| def gis_set.GRASSStartup.GetRCValue | ( | self, | |
| value | |||
| ) |
Return GRASS variable (read from GISRC)
Definition at line 378 of file gis_set.py.
References gis_set.GRASSStartup.grassrc.
| def gis_set.GRASSStartup.OnBrowse | ( | self, | |
| event | |||
| ) |
'Browse' button clicked
Definition at line 669 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 790 of file gis_set.py.
Referenced by ghelp.AboutWindow.__init__().
| def gis_set.GRASSStartup.OnCreateMapset | ( | self, | |
| event | |||
| ) |
Create new mapset.
Definition at line 682 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.listOfMapsets, and gis_set.GRASSStartup.OnSelectLocation().
| def gis_set.GRASSStartup.OnExit | ( | self, | |
| event | |||
| ) |
'Exit' button clicked
Definition at line 772 of file gis_set.py.
| def gis_set.GRASSStartup.OnHelp | ( | self, | |
| event | |||
| ) |
'Help' button clicked
Definition at line 777 of file gis_set.py.
References gis_set.GRASSStartup.gisbase.
Referenced by forms.TaskFrame.OnKeyUp().
| def gis_set.GRASSStartup.OnManageLoc | ( | self, | |
| event | |||
| ) |
Location management choice control handler.
Definition at line 397 of file gis_set.py.
References gis_set.GRASSStartup.DeleteLocation(), gis_set.GRASSStartup.DeleteMapset(), gis_set.GRASSStartup.RenameLocation(), and gis_set.GRASSStartup.RenameMapset().
| def gis_set.GRASSStartup.OnSelectLocation | ( | self, | |
| event | |||
| ) |
Location selected.
Definition at line 609 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.listOfMapsets, gis_set.GRASSStartup.listOfMapsetsSelectable, and gis_set.GRASSStartup.UpdateMapsets().
Referenced by gis_set.GRASSStartup.DeleteLocation(), gis_set.GRASSStartup.DeleteMapset(), gis_set.GRASSStartup.OnCreateMapset(), gis_set.GRASSStartup.OnSetDatabase(), and gis_set.GRASSStartup.RenameMapset().
| def gis_set.GRASSStartup.OnSelectMapset | ( | self, | |
| event | |||
| ) |
Mapset selected.
Definition at line 651 of file gis_set.py.
References gis_set.GRASSStartup.FormerMapsetSelection, and gis_set.GRASSStartup.listOfMapsetsSelectable.
| def gis_set.GRASSStartup.OnSetDatabase | ( | self, | |
| event | |||
| ) |
Database set.
Definition at line 661 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.OnSelectLocation(), and gis_set.GRASSStartup.UpdateLocations().
Referenced by gis_set.GRASSStartup.OnBrowse(), and gis_set.GRASSStartup.OnWizard().
| def gis_set.GRASSStartup.OnStart | ( | self, | |
| event | |||
| ) |
'Start GRASS' button clicked
Definition at line 717 of file gis_set.py.
References gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.listOfMapsets, and gcmd.RunCommand().
| def gis_set.GRASSStartup.OnWizard | ( | self, | |
| event | |||
| ) |
Location wizard started.
Definition at line 386 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.OnSetDatabase(), and gis_set.GRASSStartup.UpdateMapsets().
| def gis_set.GRASSStartup.RenameLocation | ( | self | ) |
Rename selected location.
Definition at line 453 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.UpdateLocations(), and gis_set.GRASSStartup.UpdateMapsets().
Referenced by gis_set.GRASSStartup.OnManageLoc().
| def gis_set.GRASSStartup.RenameMapset | ( | self | ) |
Rename selected mapset.
Definition at line 412 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.listOfMapsets, and gis_set.GRASSStartup.OnSelectLocation().
Referenced by gis_set.GRASSStartup.OnManageLoc().
| def gis_set.GRASSStartup.UpdateLocations | ( | self, | |
| dbase | |||
| ) |
Update list of locations.
Definition at line 544 of file gis_set.py.
References utils.GetListOfLocations(), and gis_set.GRASSStartup.listOfLocations.
Referenced by gis_set.GRASSStartup.DeleteLocation(), gis_set.GRASSStartup.OnSetDatabase(), and gis_set.GRASSStartup.RenameLocation().
| def gis_set.GRASSStartup.UpdateMapsets | ( | self, | |
| location | |||
| ) |
Update list of mapsets.
Definition at line 564 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnSelectLocation(), gis_set.GRASSStartup.OnWizard(), and gis_set.GRASSStartup.RenameLocation().
Definition at line 131 of file gis_set.py.
Definition at line 128 of file gis_set.py.
Definition at line 130 of file gis_set.py.
Definition at line 133 of file gis_set.py.
Definition at line 125 of file gis_set.py.
Definition at line 135 of file gis_set.py.
Definition at line 566 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnSelectMapset().
Definition at line 54 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnHelp().
Definition at line 56 of file gis_set.py.
Referenced by gis_set.GRASSStartup.DeleteLocation(), gis_set.GRASSStartup.DeleteMapset(), gis_set.GRASSStartup.OnBrowse(), gis_set.GRASSStartup.OnCreateMapset(), gis_set.GRASSStartup.OnSelectLocation(), gis_set.GRASSStartup.OnSetDatabase(), gis_set.GRASSStartup.OnWizard(), gis_set.GRASSStartup.RenameLocation(), gis_set.GRASSStartup.RenameMapset(), gselect.LocationSelect.UpdateItems(), and gselect.MapsetSelect.UpdateItems().
Definition at line 55 of file gis_set.py.
Referenced by gis_set.GRASSStartup.GetRCValue().
Definition at line 81 of file gis_set.py.
Definition at line 147 of file gis_set.py.
Definition at line 155 of file gis_set.py.
Definition at line 114 of file gis_set.py.
Definition at line 106 of file gis_set.py.
Definition at line 117 of file gis_set.py.
Definition at line 61 of file gis_set.py.
Referenced by gis_set.GRASSStartup.DeleteLocation(), gis_set.GRASSStartup.DeleteMapset(), gis_set.GRASSStartup.OnCreateMapset(), gis_set.GRASSStartup.OnSelectLocation(), gis_set.GRASSStartup.OnStart(), gis_set.GRASSStartup.RenameLocation(), gis_set.GRASSStartup.RenameMapset(), and gis_set.GRASSStartup.UpdateLocations().
Definition at line 62 of file gis_set.py.
Referenced by gis_set.GRASSStartup.DeleteMapset(), gis_set.GRASSStartup.OnCreateMapset(), gis_set.GRASSStartup.OnSelectLocation(), gis_set.GRASSStartup.OnStart(), and gis_set.GRASSStartup.RenameMapset().
Definition at line 63 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnSelectLocation(), and gis_set.GRASSStartup.OnSelectMapset().
Definition at line 108 of file gis_set.py.
Definition at line 120 of file gis_set.py.
Definition at line 111 of file gis_set.py.
Definition at line 67 of file gis_set.py.
Definition at line 102 of file gis_set.py.
Definition at line 98 of file gis_set.py.
Definition at line 96 of file gis_set.py.
Definition at line 137 of file gis_set.py.
Definition at line 69 of file gis_set.py.
Referenced by prompt.GPromptPopUp.__init__(), prompt.GPromptSTC.__init__(), dialogs.ImportDialog.doLayout(), dialogs.ModelSearchDialog.GetPanel(), prompt.GPrompt.GetPanel(), and dialogs.NewVectorDialog.OnTable().
crashes when LOCATION doesn't exist
Definition at line 93 of file gis_set.py.
Definition at line 143 of file gis_set.py.