GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
def | __init__ |
Model as python script. More... | |
def | OnRun |
Run Python script. More... | |
def | OnDone |
Python script finished. More... | |
def | SaveAs |
Save python script to file. More... | |
def | OnSaveAs |
Save python script to file. More... | |
def | RefreshScript |
Refresh Python script. More... | |
def | OnRefresh |
Refresh Python script. More... | |
def | IsModified |
Check if python script has been modified. More... | |
def | IsEmpty |
Check if python script is empty. More... | |
Data Fields | |
parent | |
filename | |
bodyBox | |
body | |
btnRun | |
btnSaveAs | |
btnRefresh | |
Definition at line 1485 of file gmodeler/frame.py.
def frame.PythonPanel.__init__ | ( | self, | |
parent, | |||
id = wx.ID_ANY , |
|||
kwargs | |||
) |
Model as python script.
Definition at line 1487 of file gmodeler/frame.py.
def frame.PythonPanel.IsEmpty | ( | self | ) |
Check if python script is empty.
Definition at line 1654 of file gmodeler/frame.py.
def frame.PythonPanel.IsModified | ( | self | ) |
Check if python script has been modified.
Definition at line 1650 of file gmodeler/frame.py.
def frame.PythonPanel.OnDone | ( | self, | |
cmd, | |||
returncode | |||
) |
Python script finished.
Definition at line 1558 of file gmodeler/frame.py.
References workspace.ProcessGrcFile.filename, and frame.PythonPanel.filename.
Referenced by vclean.VectorCleaningFrame.OnCleaningRun(), extensions.InstallExtensionWindow.OnInstall(), mcalc_builder.MapCalcFrame.OnMCalcRun(), forms.TaskFrame.OnRun(), and frame.PythonPanel.OnRun().
def frame.PythonPanel.OnRefresh | ( | self, | |
event | |||
) |
Refresh Python script.
Definition at line 1644 of file gmodeler/frame.py.
References frame.PythonPanel.RefreshScript().
def frame.PythonPanel.OnRun | ( | self, | |
event | |||
) |
Run Python script.
Definition at line 1538 of file gmodeler/frame.py.
References workspace.ProcessGrcFile.filename, frame.PythonPanel.filename, frame.ModelFrame.OnDone(), and frame.PythonPanel.OnDone().
Referenced by menu.MenuTreeWindow.OnItemActivated(), menu.MenuTreeWindow.OnKeyUp(), and forms.TaskFrame.OnKeyUp().
def frame.PythonPanel.OnSaveAs | ( | self, | |
event | |||
) |
Save python script to file.
Definition at line 1610 of file gmodeler/frame.py.
References frame.PythonPanel.SaveAs().
def frame.PythonPanel.RefreshScript | ( | self | ) |
Refresh Python script.
Definition at line 1615 of file gmodeler/frame.py.
Referenced by frame.PythonPanel.OnRefresh().
def frame.PythonPanel.SaveAs | ( | self, | |
force = False |
|||
) |
Save python script to file.
Definition at line 1563 of file gmodeler/frame.py.
Referenced by frame.PythonPanel.OnSaveAs().
frame.PythonPanel.body |
Definition at line 1498 of file gmodeler/frame.py.
frame.PythonPanel.bodyBox |
Definition at line 1496 of file gmodeler/frame.py.
frame.PythonPanel.btnRefresh |
Definition at line 1506 of file gmodeler/frame.py.
frame.PythonPanel.btnRun |
Definition at line 1500 of file gmodeler/frame.py.
frame.PythonPanel.btnSaveAs |
Definition at line 1503 of file gmodeler/frame.py.
frame.PythonPanel.filename |
Definition at line 1494 of file gmodeler/frame.py.
Referenced by frame.PythonPanel.OnDone(), and frame.PythonPanel.OnRun().
frame.PythonPanel.parent |
Definition at line 1490 of file gmodeler/frame.py.
Referenced by model.ModelLoop.__init__(), wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), colorrules.RulesPanel.LoadRules(), wxdigit.VDigitError.NoMap(), forms.TaskFrame.OnCancel(), forms.TaskFrame.OnDone(), mapwindow.GLWindow.OnLeftUp(), mapwindow.BufferedWindow.OnLeftUp(), frame.PsMapBufferedWindow.OnLeftUp(), dialogs.DecorationDialog.OnOptions(), goutput.GMConsole.OnOutputSave(), forms.TaskFrame.OnRun(), toolbars.VDigitToolbar.OnSelectMap(), gselect.GdalSelect.OnSetDsn(), toolbars.LMNvizToolbar.OnSettings(), toolbars.VDigitToolbar.OnSettings(), toolbars.BaseToolbar.OnTool(), forms.CmdPanel.OnUpdateSelection(), toolbars.VDigitToolbar.OnZBulk(), wxdigit.VDigitError.ReadLine(), goutput.CmdThread.run(), forms.UpdateQThread.run(), goutput.GMConsole.RunCmd(), toolbars.VDigitToolbar.StopEditing(), colorrules.VectorColorTable.UpdateColorColumn(), mapwindow.BufferedWindow.UpdateMap(), and wxdigit.VDigitError.WriteLine().