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
GtkBuildable
and AtkImplementorIface.
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
GtkTextChildAnchor
GtkTextChildAnchor
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
.
GtkTextWindowType
private
widget
text
left
right
top
bottom
The (text.view, user.data)
The default bindings for this signal are Backspace and Shift-Backspace.
text.view
GtkTextView
] the object which received the signaluser.data
The (text.view, user.data)
The default bindings for this signal are Ctrl-c and Ctrl-Insert.
text.view
GtkTextView
] the object which received the signaluser.data
The (text.view, user.data)
The default bindings for this signal are Ctrl-x and Shift-Delete.
text.view
GtkTextView
] the object which received the signaluser.data
The (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.view
GtkTextView
] the object which received the signaltype
GtkDeleteType
] the granularity of the deletion, as a GtkDeleteType
count
type
units to deleteuser.data
The (textview, arg1, user.data)
textview
GtkTextView
] the object which received the signal.arg1
user.data
The (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.view
GtkTextView
] the object which received the signalstep
GtkMovementStep
] the granularity of the move, as a GtkMovementStep
count
step
units to moveextend.selection
TRUE
if the move should extend the selectionuser.data
The (text.view, step, count, user.data)
There are no default bindings for this signal.
text.view
GtkTextView
] the object which received the signalstep
GtkScrollStep
] the granularity of the move, as a GtkMovementStep
count
step
units to moveuser.data
The (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.view
GtkTextView
] the object which received the signalcount
step
units to moveextend.selection
TRUE
if the move should extend the selectionuser.data
The (text.view, user.data)
The default bindings for this signal are Ctrl-v and Shift-Insert.
text.view
GtkTextView
] the object which received the signaluser.data
The (textview, arg1, user.data)
textview
GtkTextView
] the object which received the signal.arg1
GtkMenu
] user.data
The (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.view
GtkTextView
] the object which received the signalselect
TRUE
to select, FALSE
to unselectuser.data
The (textview, user.data)
textview
GtkTextView
] the object which received the signal.user.data
The (textview, arg1, arg2, user.data)
textview
GtkTextView
] the object which received the signal.arg1
GtkAdjustment
] arg2
GtkAdjustment
] user.data
The (text.view, user.data)
The default binding for this signal is F7.
text.view
GtkTextView
] the object which received the signaluser.data
The (text.view, user.data)
The default bindings for this signal is Insert.
text.view
GtkTextView
] 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