#include <editor.h>
Inheritance diagram for Gnome::Db::Editor:

Public Member Functions | |
| virtual | ~Editor () |
| GnomeDbEditor* | gobj () |
| Provides access to the underlying C GtkObject. | |
| const GnomeDbEditor* | gobj () const |
| Provides access to the underlying C GtkObject. | |
| Editor () | |
| void | set_editable (bool editable=true) |
| Set the editable state of the given editor widget. | |
| bool | get_editable () const |
| Retrieve the editable status of the given editor widget. | |
| void | set_highlight (bool highlight=true) |
| Set the highlighting status on the given editor widget. | |
| bool | get_highlight () const |
| Retrieve the highlighting status of the given editor widget. | |
| void | set_text (const Glib::ustring& text) |
| Set the contents of the given editor widget. | |
| Glib::ustring | get_all_text () const |
| Retrieve the full contents of the given editor widget. | |
| bool | load_from_file (const std::string& filename) |
| Load the given filename into the editor widget. | |
| bool | save_to_file (const std::string& filename) |
| Save the current editor contents to the given file. | |
| void | copy_clipboard () |
| Moves currently selected text in the given editor widget to the clipboard. | |
| void | cut_clipboard () |
| Copy currently selected text in the given editor widget to the clipboard. | |
| void | paste_clipboard () |
| Paste clipboard contents into editor widget, at the current position. | |
Related Functions | |
| (Note that these are not member functions.) | |
| Gnome::Db::Editor* | wrap (GnomeDbEditor* object, bool take_copy=false) |
| virtual Gnome::Db::Editor::~Editor | ( | ) | [virtual] |
| Gnome::Db::Editor::Editor | ( | ) |
| void Gnome::Db::Editor::copy_clipboard | ( | ) |
Moves currently selected text in the given editor widget to the clipboard.
| void Gnome::Db::Editor::cut_clipboard | ( | ) |
Copy currently selected text in the given editor widget to the clipboard.
| Glib::ustring Gnome::Db::Editor::get_all_text | ( | ) | const |
Retrieve the full contents of the given editor widget.
| bool Gnome::Db::Editor::get_editable | ( | ) | const |
Retrieve the editable status of the given editor widget.
| bool Gnome::Db::Editor::get_highlight | ( | ) | const |
Retrieve the highlighting status of the given editor widget.
| const GnomeDbEditor* Gnome::Db::Editor::gobj | ( | ) | const [inline] |
| GnomeDbEditor* Gnome::Db::Editor::gobj | ( | ) | [inline] |
| bool Gnome::Db::Editor::load_from_file | ( | const std::string & | filename | ) |
Load the given filename into the editor widget.
| filename | The file to be loaded. |
true if successful, false otherwise. | void Gnome::Db::Editor::paste_clipboard | ( | ) |
Paste clipboard contents into editor widget, at the current position.
| bool Gnome::Db::Editor::save_to_file | ( | const std::string & | filename | ) |
Save the current editor contents to the given file.
| filename | The file to save to. |
true if successful, false otherwise. | void Gnome::Db::Editor::set_editable | ( | bool | editable = true |
) |
Set the editable state of the given editor widget.
| editable | Editable state. |
| void Gnome::Db::Editor::set_highlight | ( | bool | highlight = true |
) |
Set the highlighting status on the given editor widget.
| highlight | Highlighting status. |
| void Gnome::Db::Editor::set_text | ( | const Glib::ustring & | text | ) |
Set the contents of the given editor widget.
| text | Text to display in the editor. |
| Gnome::Db::Editor* wrap | ( | GnomeDbEditor * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
| object | The C instance | |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
1.4.7