GRASS Programmer's Manual  6.4.2(2012)
gui_modules.ghelp.HelpWindow Class Reference

This panel holds the text from GRASS docs. More...

Public Member Functions

def __init__
 If grass_command is given, the corresponding HTML help file will be presented, with all links pointing to absolute paths of local files.
def OnLinkClicked
def fillContentsFromFile
 Load content from file.

Data Fields

 parent
 loaded
 FIXME: calling LoadPage() is strangely time-consuming (only first call) self.LoadPage(self.fspath + grass_command + ".html")
 history
 historyIdx
 fspath

Detailed Description

This panel holds the text from GRASS docs.

GISBASE must be set in the environment to find the html docs dir. The SYNOPSIS section is skipped, since this Panel is supposed to be integrated into the cmdPanel and options are obvious there.

Definition at line 1266 of file ghelp.py.


Constructor & Destructor Documentation

def gui_modules.ghelp.HelpWindow.__init__ (   self,
  parent,
  grass_command,
  text,
  skip_description,
  kwargs 
)

If grass_command is given, the corresponding HTML help file will be presented, with all links pointing to absolute paths of local files.

If 'skip_description' is True, the HTML corresponding to SYNOPSIS will be skipped, thus only presenting the help file from the DESCRIPTION section onwards.

If 'text' is given, it must be the HTML text to be presented in the Panel.

Definition at line 1273 of file ghelp.py.


Member Function Documentation


Field Documentation

FIXME: calling LoadPage() is strangely time-consuming (only first call) self.LoadPage(self.fspath + grass_command + ".html")

Definition at line 1283 of file ghelp.py.

Referenced by gui_modules.ghelp.HelpWindow.fillContentsFromFile().

Definition at line 1283 of file ghelp.py.

Referenced by gui_modules.toolbars.GCPManToolbar::__init__(), gui_modules.prompt.GPromptPopUp::__init__(), gui_modules.toolbars.ProfileToolbar::__init__(), gui_modules.toolbars.ModelToolbar::__init__(), gui_modules.toolbars.HistogramToolbar::__init__(), gui_modules.toolbars.LMWorkspaceToolbar::__init__(), gui_modules.toolbars.LMDataToolbar::__init__(), gui_modules.toolbars.LMToolsToolbar::__init__(), gui_modules.toolbars.LMMiscToolbar::__init__(), gui_modules.toolbars.LMVectorToolbar::__init__(), gui_modules.gmodeler.ModelLoop::__init__(), gui_modules.goutput.GMStc::AddTextWrapped(), gui_modules.wxvdigit.VDigitError::Database(), gui_modules.wxvdigit.VDigitError::DbExecute(), gui_modules.wxvdigit.VDigitError::DbLink(), gui_modules.wxvdigit.VDigitError::DeadLine(), gui_modules.mapdisp_window.BufferedWindow::Distance(), gui_modules.wxvdigit.VDigitError::Driver(), gui_modules.toolbars.MapToolbar::ExitToolbars(), gui_modules.wxvdigit.VDigitError::FeatureType(), gui_modules.preferences.CheckListMapset::LoadData(), gui_modules.wxvdigit.VDigitError::NoMap(), gui_modules.toolbars.VDigitToolbar::OnAddArea(), gui_modules.toolbars.VDigitToolbar::OnAddBoundary(), gui_modules.toolbars.VDigitToolbar::OnAddCentroid(), gui_modules.toolbars.VDigitToolbar::OnAddLine(), gui_modules.toolbars.VDigitToolbar::OnAddPoint(), gui_modules.toolbars.VDigitToolbar::OnAddVertex(), gui_modules.profile.OptDialog::OnApply(), gui_modules.toolbars.VDigitToolbar::OnBreak(), gui_modules.mapdisp_window.BufferedWindow::OnButtonDClick(), gui_modules.menuform.mainFrame::OnCancel(), gui_modules.vdigit.VDigitSettingsDialog::OnCancel(), gui_modules.vdigit.VDigitCategoryDialog::OnCancel(), gui_modules.psmap_dialogs.MapDialog::OnCancel(), gui_modules.preferences.CheckListMapset::OnCheckItem(), gui_modules.goutput.GMConsole::OnCmdDone(), gui_modules.toolbars.VDigitToolbar::OnConnect(), gui_modules.toolbars.VDigitToolbar::OnCopy(), gui_modules.toolbars.VDigitToolbar::OnCopyAttrb(), gui_modules.toolbars.VDigitToolbar::OnCopyCats(), gui_modules.profile.ProfileFrame::OnCreateProfile(), gui_modules.toolbars.VDigitToolbar::OnDeleteLine(), gui_modules.toolbars.VDigitToolbar::OnDisplayAttr(), gui_modules.toolbars.VDigitToolbar::OnDisplayCats(), gui_modules.menuform.mainFrame::OnDone(), gui_modules.location_wizard.DatumPage::OnDText(), gui_modules.toolbars.VDigitToolbar::OnEditLine(), gui_modules.location_wizard.CoordinateSystemPage::OnEnterPage(), gui_modules.location_wizard.DatumPage::OnEnterPage(), gui_modules.location_wizard.EPSGPage::OnEnterPage(), gui_modules.location_wizard.SummaryPage::OnEnterPage(), gui_modules.toolbars.VDigitToolbar::OnExit(), gui_modules.toolbars.NvizToolbar::OnExit(), gui_modules.toolbars.VDigitToolbar::OnFlip(), gui_modules.gmodeler.ModelFrame::OnHelp(), gui_modules.mapdisp_vdigit.VDigitWindow::OnLeftDownAddLine(), gui_modules.mapdisp_vdigit.VDigitWindow::OnLeftDownDisplayCA(), gui_modules.mapdisp_window.BufferedWindow::OnLeftUp(), gui_modules.toolbars.VDigitToolbar::OnMerge(), gui_modules.mapdisp_window.MapWindow::OnMotion(), gui_modules.psmap.PsMapBufferedWindow::OnMouse(), gui_modules.mapdisp_window.BufferedWindow::OnMouseEnter(), gui_modules.toolbars.VDigitToolbar::OnMoveLine(), gui_modules.toolbars.VDigitToolbar::OnMoveVertex(), gui_modules.location_wizard.DatumPage::OnPageChanging(), gui_modules.location_wizard.EllipsePage::OnPageChanging(), gui_modules.location_wizard.EPSGPage::OnPageChanging(), gui_modules.location_wizard.CustomPage::OnPageChanging(), wxgui.GMFrame::OnPsMap(), gui_modules.toolbars.VDigitToolbar::OnQuery(), gui_modules.toolbars.VDigitToolbar::OnRemoveVertex(), gui_modules.menuform.mainFrame::OnRun(), gui_modules.prompt.GPrompt::OnRunCmd(), gui_modules.vdigit.VDigitSettingsDialog::OnSave(), gui_modules.profile.OptDialog::OnSave(), gui_modules.location_wizard.EllipsePage::OnSearch(), gui_modules.toolbars.VDigitToolbar::OnSelectMap(), gui_modules.toolbars.MapToolbar::OnSelectTool(), gui_modules.gselect.GdalSelect::OnSetDsn(), gui_modules.toolbars.VDigitToolbar::OnSettings(), gui_modules.toolbars.NvizToolbar::OnSettings(), gui_modules.toolbars.VDigitToolbar::OnSnap(), gui_modules.toolbars.VDigitToolbar::OnSplitLine(), gui_modules.location_wizard.ProjectionsPage::OnText(), gui_modules.location_wizard.EllipsePage::OnText(), gui_modules.toolbars.AbstractToolbar::OnTool(), gui_modules.toolbars.VDigitToolbar::OnTool(), gui_modules.toolbars.VDigitToolbar::OnTypeConversion(), gui_modules.menuform.cmdPanel::OnUpdateSelection(), gui_modules.toolbars.VDigitToolbar::OnZBulk(), gui_modules.psmap_dialogs.Instruction::Read(), gui_modules.wxvdigit.VDigitError::ReadLine(), gui_modules.mapdisp_command.Command::run(), gui_modules.goutput.CmdThread::run(), gui_modules.menuform.UpdateQThread::run(), gui_modules.goutput.GMConsole::RunCmd(), gui_modules.location_wizard.CoordinateSystemPage::SetVal(), gui_modules.location_wizard.ProjParamsPage::SetVal(), gui_modules.toolbars.VDigitToolbar::StartEditing(), gui_modules.toolbars.VDigitToolbar::StopEditing(), gui_modules.psmap_dialogs.VectorPanel::update(), gui_modules.psmap_dialogs.MapinfoDialog::update(), gui_modules.psmap_dialogs.ScalebarDialog::update(), gui_modules.psmap_dialogs.TextDialog::update(), gui_modules.psmap_dialogs.MapDialog::updateDialog(), gui_modules.histogram.BufferedWindow::UpdateHist(), gui_modules.mapdisp_window.BufferedWindow::UpdateMap(), gui_modules.vdigit.VDigitSettingsDialog::UpdateSettings(), gui_modules.goutput.GMStdout::write(), gui_modules.wxvdigit.VDigitError::WriteLine(), gui_modules.mapdisp_window.BufferedWindow::Zoom(), gui_modules.mapdisp_window.BufferedWindow::ZoomBack(), and gui_modules.mapdisp_window.BufferedWindow::ZoomHistory().


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines