Class to handle the dialogs with text view. More...
Public Member Functions | |
LOG_Udt () | |
Constructor reads the XML file. More... | |
SUB | Notes (BYVAL_AS_gchar_PTR) |
Toggle notes window. More... | |
SUB | add2Notes (BYVAL_AS_gchar_PTR Txt=0) |
Add text to the notes text view buffer. More... | |
SUB | FileLog (BYVAL_AS_gchar_PTR) |
Toggle file log window. More... | |
Public Attributes | |
STRING | Xml |
The design for the dialog windows (context of file log.ui) | |
GtkTextBuffer_PTR | BufNotes |
The text buffer of the notes dialog. | |
GtkTextBuffer_PTR | BufLogFile |
The text buffer of the screen file dialog. | |
GtkTextBuffer_PTR | BufLogScreen |
The text buffer of the screen log dialog. | |
Class to handle the dialogs with text view.
This class provides member functions to handle non-modal dialogs for text views for
LOG_Udt::LOG_Udt | ( | ) |
Constructor reads the XML file.
Constructor to read the XML file containing the dialog window design. This file is used to build the dialog windows.
Definition at line 21 of file log_notes.bas.
SUB LOG_Udt::add2Notes | ( | BYVAL_AS_gchar_PTR | Txt = 0 | ) |
Add text to the notes text view buffer.
Txt | The context to add (may be NULL or empty string) |
Member function to add some text to the notes text buffer. If the notes window isn't realized yet, the window gets opened first.
Definition at line 44 of file log_notes.bas.
SUB LOG_Udt::FileLog | ( | BYVAL_AS_gchar_PTR | Fnam | ) |
Toggle file log window.
Fnam | Path/Name of log file to load |
Member function to toggle the state of the file log window, either visible or invisible. When called first, a new dialog window gets created and the file content gets loaded in to the text buffer. In case of an open error the buffer is empty, no error message.
Definition at line 102 of file log_notes.bas.
SUB LOG_Udt::Notes | ( | BYVAL_AS_gchar_PTR | Txt = 0 | ) |
Toggle notes window.
Txt | Context to set in buffer (may be NULL or empty string) |
Member function to toggle the state of the notes window, either visible or invisible. When called first, a new dialog window gets created.
Definition at line 59 of file log_notes.bas.