GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
globalvar Namespace Reference

Functions

def CheckWxVersion
 Check wx version.
def CheckForWx
 Try to import wx module and check its version.
def GetGRASSCommands
 Create list of available GRASS commands to use when parsing string from the command line.

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")
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 = (500, 600)
tuple toolbarSize = (24, 24)
 have_mlist = True
tuple hasAgw = CheckWxVersion()

Function Documentation

Try to import wx module and check its version.

Definition at line 39 of file globalvar.py.

References utils.split().

def globalvar.CheckWxVersion (   version = [2)

Check wx version.

Definition at line 31 of file globalvar.py.

References utils.split().

Create list of available GRASS commands to use when parsing string from the command line.

Returns:
list of commands (set) and directory of scripts (collected by extension - MS Windows only)

Definition at line 105 of file globalvar.py.

References main.set, and utils.split().


Variable Documentation

tuple globalvar.DIALOG_COLOR_SIZE = (30, 30)

Definition at line 100 of file globalvar.py.

tuple globalvar.DIALOG_COMBOBOX_SIZE = (300, -1)

Definition at line 96 of file globalvar.py.

tuple globalvar.DIALOG_GSELECT_SIZE = (400, -1)

Definition at line 97 of file globalvar.py.

tuple globalvar.DIALOG_LAYER_SIZE = (100, -1)

Definition at line 99 of file globalvar.py.

tuple globalvar.DIALOG_SPIN_SIZE = (150, -1)

Definition at line 95 of file globalvar.py.

tuple globalvar.DIALOG_TEXTCTRL_SIZE = (400, -1)

Definition at line 98 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 92 of file globalvar.py.

globalvar.FNPageDStyle = FN.FNB_FANCY_TABS|\

Definition at line 87 of file globalvar.py.

globalvar.FNPageStyle = FN.FNB_VC8|\

Definition at line 82 of file globalvar.py.

tuple globalvar.GM_WINDOW_SIZE = (500, 600)

Definition at line 103 of file globalvar.py.

Definition at line 177 of file globalvar.py.

Definition at line 172 of file globalvar.py.

tuple globalvar.MAP_WINDOW_SIZE = (800, 600)

Definition at line 102 of file globalvar.py.

string globalvar.QUERYLAYER = 'qlayer'

Definition at line 79 of file globalvar.py.

tuple globalvar.toolbarSize = (24, 24)

Definition at line 168 of file globalvar.py.