gtkutil::SourceView Class Reference
#include <SourceView.h>
Detailed Description
Definition at line 16 of file SourceView.h.
Constructor & Destructor Documentation
gtkutil::SourceView::SourceView |
( |
const std::string & |
language, |
|
|
bool |
readOnly | |
|
) |
| | |
Constructs a new sourceview with the given language ID as specified in the .lang files (e.g. "python").
- Parameters:
-
| language | the language definition to create a source view for. |
[in] | readOnly,: | Set this to TRUE to disallow editing of the text buffer. |
- Exceptions:
-
| runtime_error | if the given language file wasn't found in the sourceviewer/ subdirectory |
virtual gtkutil::SourceView::~SourceView |
( |
|
) |
[virtual] |
Member Function Documentation
GtkWidget* gtkutil::SourceView::_getWidget |
( |
|
) |
const [inline, protected, virtual] |
void gtkutil::SourceView::clear |
( |
|
) |
|
void gtkutil::SourceView::goToLine |
( |
int |
lineNumber |
) |
|
void gtkutil::SourceView::setContents |
( |
const std::string & |
newContents |
) |
|
Field Documentation
The documentation for this class was generated from the following file: