GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Functions | |
def | CheckWxVersion |
Check wx version. More... | |
def | CheckForWx |
Try to import wx module and check its version. More... | |
def | GetGRASSCommands |
Create list of available GRASS commands to use when parsing string from the command line. More... | |
def | UpdateGRASSAddOnCommands |
Update list of available GRASS AddOns commands to use when parsing string from the command line. More... | |
def | SetLanguage |
Variables | |
tuple | ETCDIR = os.path.join(os.getenv("GISBASE"), "etc") |
tuple | ETCICONDIR = os.path.join(os.getenv("GISBASE"), "etc", "gui", "icons") |
tuple | ETCWXDIR = os.path.join(ETCDIR, "wxpython") |
tuple | ETCIMGDIR = os.path.join(ETCDIR, "gui", "images") |
tuple | ETCSYMBOLDIR = os.path.join(ETCDIR, "gui", "images", "symbols") |
tuple | wxgui_path = os.path.join(ETCDIR, "wxpython") |
string | QUERYLAYER = 'qlayer' |
FNPageStyle = FN.FNB_VC8|\ | |
FNPageDStyle = FN.FNB_FANCY_TABS|\ | |
tuple | FNPageColor = wx.Colour(125,200,175) |
tuple | DIALOG_SPIN_SIZE = (150, -1) |
tuple | DIALOG_COMBOBOX_SIZE = (300, -1) |
tuple | DIALOG_GSELECT_SIZE = (400, -1) |
tuple | DIALOG_TEXTCTRL_SIZE = (400, -1) |
tuple | DIALOG_LAYER_SIZE = (100, -1) |
tuple | DIALOG_COLOR_SIZE = (30, 30) |
tuple | MAP_WINDOW_SIZE = (800, 600) |
tuple | GM_WINDOW_SIZE = (525, 600) |
string | BIN_EXT = '.exe' |
string | SCT_EXT = '.bat' |
tuple | toolbarSize = (24, 24) |
have_mlist = True | |
tuple | hasAgw = CheckWxVersion() |
def globalvar.CheckForWx | ( | ) |
Try to import wx module and check its version.
Definition at line 44 of file globalvar.py.
References utils.split().
def globalvar.CheckWxVersion | ( | version = [2 | ) |
Check wx version.
Definition at line 36 of file globalvar.py.
References utils.split().
Referenced by preferences.PreferencesDialog.__init__(), mapwindow.GLWindow.DoPaint(), main.MapApp.OnInit(), wxgui.GMApp.OnInit(), gis_set.StartUp.OnInit(), and mapwindow.GLWindow.OnSize().
def globalvar.GetGRASSCommands | ( | ) |
Create list of available GRASS commands to use when parsing string from the command line.
Definition at line 116 of file globalvar.py.
References main.set.
Referenced by SetLanguage().
def globalvar.SetLanguage | ( | ) |
Definition at line 205 of file globalvar.py.
References GetGRASSCommands(), and UpdateGRASSAddOnCommands().
def globalvar.UpdateGRASSAddOnCommands | ( | eList = None | ) |
Update list of available GRASS AddOns commands to use when parsing string from the command line.
eList | list of AddOns commands to remove |
Definition at line 159 of file globalvar.py.
References utils.split().
Referenced by extensions.InstallExtensionWindow.OnDone(), extensions.UninstallExtensionWindow.OnUninstall(), and SetLanguage().
string globalvar.BIN_EXT = '.exe' |
Definition at line 111 of file globalvar.py.
tuple globalvar.DIALOG_COLOR_SIZE = (30, 30) |
Definition at line 105 of file globalvar.py.
tuple globalvar.DIALOG_COMBOBOX_SIZE = (300, -1) |
Definition at line 101 of file globalvar.py.
tuple globalvar.DIALOG_GSELECT_SIZE = (400, -1) |
Definition at line 102 of file globalvar.py.
tuple globalvar.DIALOG_LAYER_SIZE = (100, -1) |
Definition at line 104 of file globalvar.py.
tuple globalvar.DIALOG_SPIN_SIZE = (150, -1) |
Definition at line 100 of file globalvar.py.
tuple globalvar.DIALOG_TEXTCTRL_SIZE = (400, -1) |
Definition at line 103 of file globalvar.py.
tuple globalvar.ETCDIR = os.path.join(os.getenv("GISBASE"), "etc") |
Definition at line 22 of file globalvar.py.
tuple globalvar.ETCICONDIR = os.path.join(os.getenv("GISBASE"), "etc", "gui", "icons") |
Definition at line 23 of file globalvar.py.
tuple globalvar.ETCIMGDIR = os.path.join(ETCDIR, "gui", "images") |
Definition at line 25 of file globalvar.py.
tuple globalvar.ETCSYMBOLDIR = os.path.join(ETCDIR, "gui", "images", "symbols") |
Definition at line 26 of file globalvar.py.
tuple globalvar.ETCWXDIR = os.path.join(ETCDIR, "wxpython") |
Definition at line 24 of file globalvar.py.
tuple globalvar.FNPageColor = wx.Colour(125,200,175) |
Definition at line 97 of file globalvar.py.
globalvar.FNPageDStyle = FN.FNB_FANCY_TABS|\ |
Definition at line 92 of file globalvar.py.
globalvar.FNPageStyle = FN.FNB_VC8|\ |
Definition at line 87 of file globalvar.py.
tuple globalvar.GM_WINDOW_SIZE = (525, 600) |
Definition at line 108 of file globalvar.py.
tuple globalvar.hasAgw = CheckWxVersion() |
Definition at line 276 of file globalvar.py.
globalvar.have_mlist = True |
Definition at line 271 of file globalvar.py.
tuple globalvar.MAP_WINDOW_SIZE = (800, 600) |
Definition at line 107 of file globalvar.py.
string globalvar.QUERYLAYER = 'qlayer' |
Definition at line 84 of file globalvar.py.
string globalvar.SCT_EXT = '.bat' |
Definition at line 112 of file globalvar.py.
tuple globalvar.toolbarSize = (24, 24) |
Definition at line 267 of file globalvar.py.
tuple globalvar.wxgui_path = os.path.join(ETCDIR, "wxpython") |
Definition at line 28 of file globalvar.py.