GRASS Programmer's Manual  6.4.2(2012)
 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

namespace  gui_modules.globalvar
namespace  global.py
 Global variables.

Functions

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

Variables

tuple gui_modules.globalvar.ETCDIR = os.path.join(os.getenv("GISBASE"), "etc")
tuple gui_modules.globalvar.ETCICONDIR = os.path.join(os.getenv("GISBASE"), "etc", "gui", "icons")
tuple gui_modules.globalvar.ETCWXDIR = os.path.join(ETCDIR, "wxpython")
tuple gui_modules.globalvar.ETCIMGDIR = os.path.join(ETCDIR, "gui", "images")
string gui_modules.globalvar.QUERYLAYER = 'qlayer'
 gui_modules.globalvar.FNPageStyle = FN.FNB_VC8|\
 gui_modules.globalvar.FNPageDStyle = FN.FNB_FANCY_TABS|\
tuple gui_modules.globalvar.FNPageColor = wx.Colour(125,200,175)
tuple gui_modules.globalvar.DIALOG_SPIN_SIZE = (150, -1)
tuple gui_modules.globalvar.DIALOG_COMBOBOX_SIZE = (300, -1)
tuple gui_modules.globalvar.DIALOG_GSELECT_SIZE = (400, -1)
tuple gui_modules.globalvar.DIALOG_TEXTCTRL_SIZE = (400, -1)
tuple gui_modules.globalvar.DIALOG_LAYER_SIZE = (100, -1)
tuple gui_modules.globalvar.DIALOG_COLOR_SIZE = (30, 30)
tuple gui_modules.globalvar.MAP_WINDOW_SIZE = (800, 600)
tuple gui_modules.globalvar.HIST_WINDOW_SIZE = (500, 350)
tuple gui_modules.globalvar.GM_WINDOW_SIZE = (500, 600)
list gui_modules.globalvar.MAP_DISPLAY_STATUSBAR_MODE
string gui_modules.globalvar.EXT_BIN = '.exe'
string gui_modules.globalvar.EXT_SCT = '.bat'
dictionary gui_modules.globalvar.grassCmd = {}
tuple gui_modules.globalvar.toolbarSize = (24, 24)
 gui_modules.globalvar.have_mlist = True
tuple gui_modules.globalvar.hasAgw = CheckWxVersion()