| GtkTextView {RGtk2} | R Documentation |
Widget that displays a GtkTextBuffer
gtkTextViewNew(show = TRUE)
gtkTextViewNewWithBuffer(buffer = NULL, show = TRUE)
gtkTextViewSetBuffer(object, buffer)
gtkTextViewGetBuffer(object)
gtkTextViewScrollToMark(object, mark, within.margin, use.align = FALSE, xalign = 0.5, yalign = 0.5)
gtkTextViewScrollToIter(object, iter, within.margin, use.align = FALSE, xalign = 0.5, yalign = 0.5)
gtkTextViewScrollMarkOnscreen(object, mark)
gtkTextViewMoveMarkOnscreen(object, mark)
gtkTextViewPlaceCursorOnscreen(object)
gtkTextViewGetVisibleRect(object)
gtkTextViewGetIterLocation(object, iter)
gtkTextViewGetLineAtY(object, y)
gtkTextViewGetLineYrange(object, iter)
gtkTextViewGetIterAtLocation(object, x, y)
gtkTextViewGetIterAtPosition(object, x, y)
gtkTextViewBufferToWindowCoords(object, win, buffer.x, buffer.y)
gtkTextViewWindowToBufferCoords(object, win, window.x, window.y)
gtkTextViewGetWindow(object, win)
gtkTextViewGetWindowType(object, window)
gtkTextViewSetBorderWindowSize(object, type, size)
gtkTextViewGetBorderWindowSize(object, type)
gtkTextViewForwardDisplayLine(object, iter)
gtkTextViewBackwardDisplayLine(object, iter)
gtkTextViewForwardDisplayLineEnd(object, iter)
gtkTextViewBackwardDisplayLineStart(object, iter)
gtkTextViewStartsDisplayLine(object, iter)
gtkTextViewMoveVisually(object, iter, count)
gtkTextViewAddChildAtAnchor(object, child, anchor)
gtkTextChildAnchorNew()
gtkTextChildAnchorGetWidgets(object)
gtkTextChildAnchorGetDeleted(object)
gtkTextViewAddChildInWindow(object, child, which.window, xpos, ypos)
gtkTextViewMoveChild(object, child, xpos, ypos)
gtkTextViewSetWrapMode(object, wrap.mode)
gtkTextViewGetWrapMode(object)
gtkTextViewSetEditable(object, setting)
gtkTextViewGetEditable(object)
gtkTextViewSetCursorVisible(object, setting)
gtkTextViewGetCursorVisible(object)
gtkTextViewSetOverwrite(object, overwrite)
gtkTextViewGetOverwrite(object)
gtkTextViewSetPixelsAboveLines(object, pixels.above.lines)
gtkTextViewGetPixelsAboveLines(object)
gtkTextViewSetPixelsBelowLines(object, pixels.below.lines)
gtkTextViewGetPixelsBelowLines(object)
gtkTextViewSetPixelsInsideWrap(object, pixels.inside.wrap)
gtkTextViewGetPixelsInsideWrap(object)
gtkTextViewSetJustification(object, justification)
gtkTextViewGetJustification(object)
gtkTextViewSetLeftMargin(object, left.margin)
gtkTextViewGetLeftMargin(object)
gtkTextViewSetRightMargin(object, right.margin)
gtkTextViewGetRightMargin(object)
gtkTextViewSetIndent(object, indent)
gtkTextViewGetIndent(object)
gtkTextViewSetTabs(object, tabs)
gtkTextViewGetTabs(object)
gtkTextViewSetAcceptsTab(object, accepts.tab)
gtkTextViewGetAcceptsTab(object)
gtkTextViewGetDefaultAttributes(object)
gtkTextView(buffer = NULL, show = TRUE)gtkTextChildAnchor()
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkTextView
GObject
+----GtkTextChildAnchor
GtkTextView implements
AtkImplementorIface and GtkBuildable.
You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together.
GtkTextView
GtkTextChildAnchorGtkTextChildAnchor is a spot in the buffer
where child widgets can be "anchored" (inserted inline, as if they were
characters). The anchor can have multiple widgets anchored, to allow for
multiple views.
gtkTextView is the result of collapsing the constructors of GtkTextView (gtkTextViewNew, gtkTextViewNewWithBuffer) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.
gtkTextChildAnchor is the equivalent of gtkTextChildAnchorNew.
GtkTextWindowTypeprivatewidgettextleftrighttopbottom
backspace(text.view, user.data)The default bindings for this signal are Backspace and Shift-Backspace.
text.viewGtkTextView] the object which received the signaluser.data
copy-clipboard(text.view, user.data)The default bindings for this signal are Ctrl-c and Ctrl-Insert.
text.viewGtkTextView] the object which received the signaluser.data
cut-clipboard(text.view, user.data)The default bindings for this signal are Ctrl-x and Shift-Delete.
text.viewGtkTextView] the object which received the signaluser.data
delete-from-cursor(text.view, type, count, user.data)
If the type is GTK_DELETE_CHARS, GTK+ deletes the selection
if there is one, otherwise it deletes the requested number
of characters.
The default bindings for this signal are Delete for deleting a character, Ctrl-Delete for deleting a word and Ctrl-Backspace for deleting a word backwords.
text.viewGtkTextView] the object which received the signaltypeGtkDeleteType] the granularity of the deletion, as a GtkDeleteTypecounttype units to deleteuser.data
insert-at-cursor(textview, arg1, user.data)textviewGtkTextView] the object which received the signal.arg1user.data
move-cursor(text.view, step, count, extend.selection, user.data)text.view, this signal causes
the viewport to be moved instead.
Applications should not connect to it, but may emit it with
gSignalEmitByName() if they need to control scrolling
programmatically.
The default bindings for this signal come in two variants, the variant with the Shift modifier extends the selection, the variant without the Shift modifer does not. There are too many key combinations to list them all here.
text.viewGtkTextView] the object which received the signalstepGtkMovementStep] the granularity of the move, as a GtkMovementStepcountstep units to moveextend.selectionTRUE if the move should extend the selectionuser.data
move-viewport(text.view, step, count, user.data)There are no default bindings for this signal.
text.viewGtkTextView] the object which received the signalstepGtkScrollStep] the granularity of the move, as a GtkMovementStepcountstep units to moveuser.data
page-horizontally(text.view, count, extend.selection, user.data)
This signal should not be used anymore, instead use the
"move-cursor" signal with the GTK_MOVEMENT_HORIZONTAL_PAGES
granularity.
text.viewGtkTextView] the object which received the signalcountstep units to moveextend.selectionTRUE if the move should extend the selectionuser.data
paste-clipboard(text.view, user.data)The default bindings for this signal are Ctrl-v and Shift-Insert.
text.viewGtkTextView] the object which received the signaluser.data
populate-popup(textview, arg1, user.data)textviewGtkTextView] the object which received the signal.arg1GtkMenu] user.data
select-all(text.view, select, user.data)The default bindings for this signal are Ctrl-a and Ctrl-/ for selecting and Shift-Ctrl-a and Ctrl-\ for unselecting.
text.viewGtkTextView] the object which received the signalselectTRUE to select, FALSE to unselectuser.data
set-anchor(textview, user.data)textviewGtkTextView] the object which received the signal.user.data
set-scroll-adjustments(textview, arg1, arg2, user.data)textviewGtkTextView] the object which received the signal.arg1GtkAdjustment] arg2GtkAdjustment] user.data
toggle-cursor-visible(text.view, user.data)The default binding for this signal is F7.
text.viewGtkTextView] the object which received the signaluser.data
toggle-overwrite(text.view, user.data)The default bindings for this signal is Insert.
text.viewGtkTextView] the object which received the signaluser.data
accepts-tab [logical : Read / Write]Whether Tab will result in a tab character being entered. Default value: TRUE
buffer [GtkTextBuffer : Read / Write]The buffer which is displayed.
cursor-visible [logical : Read / Write]If the insertion cursor is shown. Default value: TRUE
editable [logical : Read / Write]Whether the text can be modified by the user. Default value: TRUE
indent [integer : Read / Write]Amount to indent the paragraph, in pixels. Default value: 0
justification [GtkJustification : Read / Write]Left, right, or center justification. Default value: GTK_JUSTIFY_LEFT
left-margin [integer : Read / Write]Width of the left margin in pixels. Allowed values: >= 0 Default value: 0
overwrite [logical : Read / Write]Whether entered text overwrites existing contents. Default value: FALSE
pixels-above-lines [integer : Read / Write]Pixels of blank space above paragraphs. Allowed values: >= 0 Default value: 0
pixels-below-lines [integer : Read / Write]Pixels of blank space below paragraphs. Allowed values: >= 0 Default value: 0
pixels-inside-wrap [integer : Read / Write]Pixels of blank space between wrapped lines in a paragraph. Allowed values: >= 0 Default value: 0
right-margin [integer : Read / Write]Width of the right margin in pixels. Allowed values: >= 0 Default value: 0
tabs [PangoTabArray : Read / Write]Custom tabs for this text.
wrap-mode [GtkWrapMode : Read / Write]Whether to wrap lines never, at word boundaries, or at character boundaries. Default value: GTK_WRAP_NONE
error-underline-color [GdkColor : Read]Color with which to draw error-indication underlines.
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkTextView.html