GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Data Structures | |
class | UpdateThread |
Update dialog widgets in the thread. More... | |
class | UpdateQThread |
Update dialog widgets in the thread. More... | |
class | TaskFrame |
This is the Frame containing the dialog for options input. More... | |
class | CmdPanel |
A panel containing a notebook dividing in tabs the different guisections of the GRASS cmd. More... | |
class | GUI |
class | GrassGUIApp |
Stand-alone GRASS command GUI. More... | |
Functions | |
def | color_resolve |
def | text_beautify |
def | escape_ampersand |
Escapes ampersands with additional ampersand for GUI. More... | |
def | UpdateDialog |
Variables | |
tuple | gisbase = os.getenv("GISBASE") |
wxbase = gisbase | |
dictionary | str2rgb |
dictionary | rgb2str = {} |
dictionary | _blackList |
tuple | q = wx.LogNull() |
tuple | cmd = utils.split(sys.argv[1]) |
tuple | task = gtask.grassTask(gcmd.GetRealCmd(cmd[0])) |
tuple | app = GrassGUIApp(task) |
@package gui_core.forms @brief Construct simple wxPython GUI from a GRASS command interface description. Classes: - forms::UpdateThread - forms::UpdateQThread - forms::TaskFrame - forms::CmdPanel - forms::GUI - forms::GrassGUIApp This program is just a coarse approach to automatically build a GUI from a xml-based GRASS user interface description. You need to have Python 2.4, wxPython 2.8 and python-xml. The XML stream is read from executing the command given in the command line, thus you may call it for instance this way: python <this file.py> r.basins.fill Or you set an alias or wrap the call up in a nice shell script, GUI environment ... please contribute your idea. Updated to wxPython 2.8 syntax and contrib widgets. Methods added to make it callable by gui. Method added to automatically re-run with pythonw on a Mac. @todo - verify option value types Copyright(C) 2000-2012 by the GRASS Development Team This program is free software under the GPL(>=v2) Read the file COPYING coming with GRASS for details. @author Jan-Oliver Wagner <jan@intevation.de> @author Bernhard Reiter <bernhard@intevation.de> @author Michael Barton, Arizona State University @author Daniel Calvelo <dca.gis@gmail.com> @author Martin Landa <landa.martin@gmail.com> @author Luca Delucchi <lucadeluge@gmail.com>
def forms.escape_ampersand | ( | text | ) |
Escapes ampersands with additional ampersand for GUI.
Definition at line 150 of file forms.py.
Referenced by text_beautify().
def forms.text_beautify | ( | someString, | |
width = 70 |
|||
) |
Make really long texts shorter, clean up whitespace and remove trailing punctuation.
Definition at line 138 of file forms.py.
References escape_ampersand(), and utils.normalize_whitespace().
def forms.UpdateDialog | ( | parent, | |
event, | |||
eventId, | |||
task | |||
) |
Definition at line 294 of file forms.py.
Referenced by mapwindow.VDigitWindow.OnLeftDownDisplayCA(), and frame.MapFrame.QueryVector().
dictionary forms._blackList |
tuple forms.app = GrassGUIApp(task) |
tuple forms.cmd = utils.split(sys.argv[1]) |
Definition at line 2020 of file forms.py.
Referenced by Vect_hist_command().
tuple forms.gisbase = os.getenv("GISBASE") |
Definition at line 59 of file forms.py.
Referenced by GPJ__get_datum_params(), GPJ_set_csv_loc(), main(), R_parse_monitorcap(), and set_proj_lib().
tuple forms.q = wx.LogNull() |
Definition at line 2019 of file forms.py.
Referenced by atou1(), atovm(), avl_destroy(), avl_probe(), avl_t_find(), btree_find(), btree_next(), btree_update(), c_perc90(), c_quart1(), c_quart3(), chousv(), cminv(), cmmul(), cmmult(), csolv(), cvmul(), evmax(), G__name_is_fully_qualified(), G_find_cell_stat(), G_geodesic_distance_lon_to_lon(), G_rewind_cell_stats(), G_strstr(), G_update_cell_stats(), hconj(), I_cluster_assign(), I_cluster_reassign(), I_cluster_separation(), I_cluster_sum2(), ldumat(), ldvmat(), mcopy(), minv(), mmul(), N_callback_gwflow_2d(), N_callback_gwflow_3d(), N_callback_solute_transport_2d(), N_callback_solute_transport_3d(), normp(), ortho(), ppnd16(), ppnd7(), psinv(), qrbdu1(), qrbdv(), read_png(), rmmult(), ruinv(), smgen(), solv(), solvps(), solvru(), sv2u1v(), sv2uv(), sv2val(), svdu1v(), svduv(), svdval(), tavl_copy(), tavl_delete(), tavl_probe(), trncm(), trnm(), unitary(), vmul(), w_perc90(), w_quart1(), w_quart3(), write_png(), and xinormal().
dictionary forms.str2rgb |
tuple forms.task = gtask.grassTask(gcmd.GetRealCmd(cmd[0])) |