Inheritance diagram for TextBuffer:

Public Member Functions | |
| void | setText (char[] text) |
| Sets the text for this text view. | |
| GtkTextBuffer * | gtkO () |
| Gets the GtkTextBuffer. | |
| this (TextTagTable textTagTable) | |
| create a new TextBuffer with a TextTagTable | |
| this () | |
| Create a new TextBuffer. | |
| gint | getLineCount () |
| getLineCount | |
| gint | getCharCount () |
| getCharCount | |
| TextTagTable | getTagTable () |
| getTagTable | |
| void | insert (TextIter iter, char[] text) |
| Insert test at the iter. | |
| void | insertAtCursor (char[] text) |
| Insert test at the cursor position. | |
| bit | insertInteractive (TextIter iter, char[] text, bit defaultEditable) |
| Insert test at the iter interactively ??? | |
| bit | insertInteractiveAtCursor (char[] text, bit defaultEditable) |
| insertInteractiveAtCursor | |
| void | insertRange (TextIter iter, TextIter start, TextIter end) |
| insertRange | |
| bit | insertRangeInteractive (TextIter iter, TextIter start, TextIter end, bit defaultEditable) |
| insertRangeInteractive | |
| void | insertWithTags (TextIter iter, char[] text, TextTag firstTag) |
| insertWithTags | |
| void | insertWithTagsByName (TextIter iter, char[] text, char[] tagName) |
| insertWithTagsByName | |
| void | insertWithTagsByName (TextIter iter, char[] text, char[] tagName, char[] tagName2) |
| insertWithTagsByName | |
| void | insertWithTagsByName (TextIter iter, char[] text, char[] tagName, char[] tagName2, char[] tagName3) |
| insertWithTagsByName | |
| void | insertWithTagsByName (TextIter iter, char[] text, char[] tagName, char[] tagName2, char[] tagName3, char[] tagName4) |
| insertWithTagsByName | |
| void | insertWithTagsByName (TextIter iter, char[] text, char[] tagName, char[] tagName2, char[] tagName3, char[] tagName4, char[] tagName5) |
| insertWithTagsByName | |
| void | deleteText (TextIter start, TextIter end) |
| deleteText | |
| bit | deleteInteractive (TextIter start, TextIter end, bit defaultEditable) |
| deleteInteractive | |
| char[] | getText (TextIter start, TextIter end, bit includeHiddenChars) |
| Obtain strings from the buffer. | |
| char[] | getSlice (TextIter start, TextIter end, bit includeHiddenChars) |
| Obtain strings from the buffer. | |
| char[] | getText () |
| Obtain the entire text. | |
| void | insertPixbuf (TextIter iter, Pixbuf pixbuf) |
| Insert a pixbuf. | |
| void | insertChildAnchor (TextIter iter, TextChildAnchor anchor) |
| Insert a child anchor. | |
| TextChildAnchor | createChildAnchor (TextIter iter) |
| Convenience, create and insert a child anchor. | |
| TextMark | createMark (char[] mark_name, TextIter where, bit left_gravity) |
| Creates a mark at position where If mark_name is NULL, the mark is anonymous; otherwise, the mark can be retrieved by name using gtk_text_buffer_get_mark(). | |
| void | moveMark (TextMark mark, TextIter where) |
| Moves mark to the new location where. | |
| void | deleteMark (TextMark mark) |
| Deletes mark, so that it's no longer located anywhere in the buffer. | |
| TextMark | getMark (char[] name) |
| Returns the mark named name in buffer buffer. | |
| void | moveMark (char[] name, TextIter where) |
| move the mark by name | |
| void | moveMarkByName (char[] name, TextIter where) |
| move the mark by name using gtk function name. | |
| void | deleteMark (char[] name) |
| Deletes mark by name. | |
| void | deleteMarkByName (char[] name) |
| Deletes mark by name using the GTK functino name. | |
| TextMark | getInsert () |
| Returns the mark that represents the cursor (insertion point). | |
| TextMark | getSelectionBound () |
| Returns the mark that represents the selection bound. | |
| void | placeCursor (TextIter where) |
| placeCursor | |
| void | applyTag (TextTag tag, TextIter start, TextIter end) |
| applyTag | |
| void | removeTag (TextTag tag, TextIter start, TextIter end) |
| removeTag | |
| void | applyTagByName (char[] name, TextIter start, TextIter end) |
| applyTagByName | |
| void | removeTag (char[] name, TextIter start, TextIter end) |
| removeTag | |
| void | removeAllTags (TextIter start, TextIter end) |
| removeAllTags | |
| TextTag | createTag (char[] tagName, char[] propertyName, int propertyValue) |
| Create a new tag for this buffer. | |
| TextTag | createTag (char[] tagName, char[] propertyName, int propertyValue, char[] propertyName2, int propertyValue2) |
| Create a new tag for this buffer. | |
| TextTag | createTag (char[] tagName, char[] propertyName, char[] propertyValue) |
| Create a new tag for this buffer. | |
| TextTag | createTag (char[] tagName, char[] propertyName, Bitmap propertyValue) |
| Create a new tag for this buffer. | |
| void | getIterAtLineIndex (TextIter iter, gint line_number, gint byte_index) |
| getIterAtLineIndex | |
| void | getIterAtOffset (TextIter iter, gint char_offset) |
| getIterAtOffset | |
| void | getIterAtLine (TextIter iter, gint line_number) |
| getIterAtLine | |
| void | getStartIter (TextIter iter) |
| getStartIter | |
| void | getEndIter (TextIter iter) |
| getEndIter | |
| void | getBounds (TextIter start, TextIter end) |
| getBounds | |
| void | getIterAtMark (TextIter iter, TextMark mark) |
| Sets an iter to the mark. | |
| void | getIterAtChildAnchor (TextIter iter, TextChildAnchor anchor) |
| Set an iter to the child anchor. | |
| bit | getModified () |
| Indicates whether the buffer has been modified since the last call to gtk_text_buffer_set_modified() set the modification flag to false. | |
| void | setModified (bit setting) |
| Used to keep track of whether the buffer has been modified since the last time it was saved. | |
| void | addSelectionClipboard (Clipboard clipboard) |
| addSelectionClipboard | |
| void | removeSelectionClipboard (Clipboard clipboard) |
| removeSelectionClipboard | |
| void | cutClipboard (Clipboard clipboard, bit default_editable) |
| cutClipboard | |
| void | copyClipboard (Clipboard clipboard) |
| copyClipboard | |
| void | pastClipboard (Clipboard clipboard, TextIter override_location, bit default_editable) |
| pastClipboard | |
| bit | getSelectionBounds (TextIter start, TextIter end) |
| getSelectionBounds | |
| bit | deleteSelection (bit interactive, bit defaultEditable) |
| deleteSelection | |
| void | beginUserAction () |
| beginUserAction | |
| void | endUserAction () |
| endUserAction | |
Protected Member Functions | |
| this (GObject *gObject) | |
| Creates a new text buffer from a gdkTextBuffer. | |
| this (GtkTextBuffer *gtkTextBuffer) | |
| Creates a new text buffer from a gdkTextBuffer. | |
|
|
addSelectionClipboard
|
|
||||||||||||||||
|
applyTag
|
|
||||||||||||||||
|
applyTagByName
|
|
|
beginUserAction
|
|
|
copyClipboard
|
|
|
Convenience, create and insert a child anchor.
|
|
||||||||||||||||
|
Creates a mark at position where If mark_name is NULL, the mark is anonymous; otherwise, the mark can be retrieved by name using gtk_text_buffer_get_mark(). If a mark has left gravity, and text is inserted at the mark's current location, the mark will be moved to the left of the newly-inserted text. If the mark has right gravity (left_gravity = FALSE), the mark will end up on the right of newly-inserted text. The standard left-to-right cursor is a mark with right gravity (when you type, the cursor stays on the right side of the text you're typing).
|
|
||||||||||||||||
|
Create a new tag for this buffer.
|
|
||||||||||||||||
|
Create a new tag for this buffer.
|
|
||||||||||||||||||||||||
|
Create a new tag for this buffer.
|
|
||||||||||||||||
|
Create a new tag for this buffer.
|
|
||||||||||||
|
cutClipboard
|
|
||||||||||||||||
|
deleteInteractive
|
|
|
Deletes mark by name.
|
|
|
Deletes mark, so that it's no longer located anywhere in the buffer. Removes the reference the buffer holds to the mark, so if you haven't called g_object_ref() on the mark, it will be freed. Even if the mark isn't freed, most operations on mark become invalid. There is no way to undelete a mark. gtk_text_mark_get_deleted() will return TRUE after this function has been called on a mark; gtk_text_mark_get_deleted() indicates that a mark no longer belongs to a buffer. The "mark_deleted" signal will be emitted as notification after the mark is deleted. |
|
|
Deletes mark by name using the GTK functino name.
|
|
||||||||||||
|
deleteSelection
|
|
||||||||||||
|
deleteText
|
|
|
endUserAction
|
|
||||||||||||
|
getBounds
|
|
|
getCharCount
|
|
|
getEndIter
|
|
|
Returns the mark that represents the cursor (insertion point). Equivalent to calling gtk_text_buffer_get_mark() to get the mark named "insert", but very slightly more efficient, and involves less typing.
|
|
||||||||||||
|
Set an iter to the child anchor.
|
|
||||||||||||
|
getIterAtLine
|
|
||||||||||||||||
|
getIterAtLineIndex
|
|
||||||||||||
|
Sets an iter to the mark.
|
|
||||||||||||
|
getIterAtOffset
|
|
|
getLineCount
|
|
|
Returns the mark named name in buffer buffer.
|
|
|
Indicates whether the buffer has been modified since the last call to gtk_text_buffer_set_modified() set the modification flag to false.
|
|
|
Returns the mark that represents the selection bound. Equivalent to calling gtk_text_buffer_get_mark() to get the mark named "selection_bound", but very slightly more efficient, and involves less typing. The currently-selected text in buffer is the region between the "selection_bound" and "insert" marks. If "selection_bound" and "insert" are in the same place, then there is no current selection. gtk_text_buffer_get_selection_bounds() is another convenient function for handling the selection, if you just want to know whether there's a selection and what its bounds are.
|
|
||||||||||||
|
getSelectionBounds
|
|
||||||||||||||||
|
Obtain strings from the buffer.
|
|
|
getStartIter
|
|
|
getTagTable
|
|
|
Obtain the entire text.
|
|
||||||||||||||||
|
Obtain strings from the buffer.
|
|
|
Gets the GtkTextBuffer.
|
|
||||||||||||
|
Insert test at the iter.
|
|
|
Insert test at the cursor position.
|
|
||||||||||||
|
Insert a child anchor.
|
|
||||||||||||||||
|
Insert test at the iter interactively ???
|
|
||||||||||||
|
insertInteractiveAtCursor
|
|
||||||||||||
|
Insert a pixbuf.
|
|
||||||||||||||||
|
insertRange
|
|
||||||||||||||||||||
|
insertRangeInteractive
|
|
||||||||||||||||
|
insertWithTags
|
|
||||||||||||||||||||||||||||||||
|
insertWithTagsByName
|
|
||||||||||||||||||||||||||||
|
insertWithTagsByName
|
|
||||||||||||||||||||||||
|
insertWithTagsByName
|
|
||||||||||||||||||||
|
insertWithTagsByName
|
|
||||||||||||||||
|
insertWithTagsByName
|
|
||||||||||||
|
move the mark by name
|
|
||||||||||||
|
Moves mark to the new location where. Emits the "mark_set" signal as notification of the move.
|
|
||||||||||||
|
move the mark by name using gtk function name.
|
|
||||||||||||||||
|
pastClipboard
|
|
|
placeCursor
|
|
||||||||||||
|
removeAllTags
|
|
|
removeSelectionClipboard
|
|
||||||||||||||||
|
removeTag
|
|
||||||||||||||||
|
removeTag
|
|
|
Used to keep track of whether the buffer has been modified since the last time it was saved.
|
|
|
Sets the text for this text view.
|
|
|
Create a new TextBuffer.
|
|
|
create a new TextBuffer with a TextTagTable
|
|
|
Creates a new text buffer from a gdkTextBuffer.
|
|
|
Creates a new text buffer from a gdkTextBuffer.
Reimplemented from ObjectG. |
1.3.4