GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
globalvar.py File Reference

Go to the source code of this file.

Namespaces

 globalvar
 
 core.globalvar
 Global variables used by wxGUI.
 

Functions

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

Variables

tuple globalvar.ETCDIR = os.path.join(os.getenv("GISBASE"), "etc")
 
tuple globalvar.ETCICONDIR = os.path.join(os.getenv("GISBASE"), "etc", "gui", "icons")
 
tuple globalvar.ETCWXDIR = os.path.join(ETCDIR, "wxpython")
 
tuple globalvar.ETCIMGDIR = os.path.join(ETCDIR, "gui", "images")
 
tuple globalvar.ETCSYMBOLDIR = os.path.join(ETCDIR, "gui", "images", "symbols")
 
tuple globalvar.wxgui_path = os.path.join(ETCDIR, "wxpython")
 
string globalvar.QUERYLAYER = 'qlayer'
 
 globalvar.FNPageStyle = FN.FNB_VC8|\
 
 globalvar.FNPageDStyle = FN.FNB_FANCY_TABS|\
 
tuple globalvar.FNPageColor = wx.Colour(125,200,175)
 
tuple globalvar.DIALOG_SPIN_SIZE = (150, -1)
 
tuple globalvar.DIALOG_COMBOBOX_SIZE = (300, -1)
 
tuple globalvar.DIALOG_GSELECT_SIZE = (400, -1)
 
tuple globalvar.DIALOG_TEXTCTRL_SIZE = (400, -1)
 
tuple globalvar.DIALOG_LAYER_SIZE = (100, -1)
 
tuple globalvar.DIALOG_COLOR_SIZE = (30, 30)
 
tuple globalvar.MAP_WINDOW_SIZE = (800, 600)
 
tuple globalvar.GM_WINDOW_SIZE = (525, 600)
 
string globalvar.BIN_EXT = '.exe'
 
string globalvar.SCT_EXT = '.bat'
 
tuple globalvar.toolbarSize = (24, 24)
 
 globalvar.have_mlist = True
 
tuple globalvar.hasAgw = CheckWxVersion()