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

Go to the source code of this file.

Namespaces

namespace  globalvar
namespace  core.globalvar
 Global variables used by wxGUI.

Functions

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

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