gtk.text_view
Module for [TextView] class
Types 3
You may wish to begin by reading the
text widget conceptual overviewwhich gives an overview of all the objects and data types related to the text widget and how they work together.
CSS nodes
textview.view
├── border.top
├── border.left
├── text
│ ╰── [selection]
├── border.right
├── border.bottom
╰── [window.popup]GtkTextView has a main css node with name textview and style class .view, and subnodes for each of the border windows, and the main text area, with names border and text, respectively. The border nodes each get one of the style classes .left, .right, .top or .bottom.
A node representing the selection will appear below the text node.
If a context menu is opened, the window node will appear as a subnode of the main node.
Methods
TextViewGidBuilder builder()Get builder for [gtk.text_view.TextView] Returns: New builder objectbool acceptsTab() @propertyvoid acceptsTab(bool propval) @propertyint bottomMargin() @propertyGet `bottomMargin` property. Returns: The bottom margin for text in the text view.void bottomMargin(int propval) @propertySet `bottomMargin` property. Params: propval = The bottom margin for text in the text view.gtk.text_buffer.TextBuffer buffer() @propertyvoid buffer(gtk.text_buffer.TextBuffer propval) @propertybool cursorVisible() @propertyvoid cursorVisible(bool propval) @propertybool editable() @propertyvoid editable(bool propval) @propertystring imModule() @propertyGet `imModule` property. Returns: Which IM (input method) module should be used for this text_view. See #GtkIMContext.void imModule(string propval) @propertySet `imModule` property. Params: propval = Which IM (input method) module should be used for this text_view. See #GtkIMContext.int indent() @propertyvoid indent(int propval) @propertygtk.types.InputHints inputHints() @propertyGet `inputHints` property. Returns: Additional hints (beyond #GtkTextView:input-purpose) that allow input methods to fine-tune their behaviour.void inputHints(gtk.types.InputHints propval) @propertySet `inputHints` property. Params: propval = Additional hints (beyond #GtkTextView:input-purpose) that allow input methods to fine-tune their behaviour.gtk.types.InputPurpose inputPurpose() @propertyGet `inputPurpose` property. Returns: The purpose of this text field.void inputPurpose(gtk.types.InputPurpose propval) @propertySet `inputPurpose` property. Params: propval = The purpose of this text field.gtk.types.Justification justification() @propertyvoid justification(gtk.types.Justification propval) @propertyint leftMargin() @propertyGet `leftMargin` property. Returns: The default left margin for text in the text view. Tags in the buffer may override the default.void leftMargin(int propval) @propertySet `leftMargin` property. Params: propval = The default left margin for text in the text view. Tags in the buffer may override the default.bool monospace() @propertyvoid monospace(bool propval) @propertybool overwrite() @propertyvoid overwrite(bool propval) @propertyint pixelsAboveLines() @propertyvoid pixelsAboveLines(int propval) @propertyint pixelsBelowLines() @propertyvoid pixelsBelowLines(int propval) @propertyint pixelsInsideWrap() @propertyvoid pixelsInsideWrap(int propval) @propertybool populateAll() @propertyGet `populateAll` property. Returns: If :populate-all is true, the #GtkTextView::populate-popup signal is also emitted for touch popups.void populateAll(bool propval) @propertySet `populateAll` property. Params: propval = If :populate-all is true, the #GtkTextView::populate-popup signal is also emitted for touch popups.int rightMargin() @propertyGet `rightMargin` property. Returns: The default right margin for text in the text view. Tags in the buffer may override the default.void rightMargin(int propval) @propertySet `rightMargin` property. Params: propval = The default right margin for text in the text view. Tags in the buffer may override the default.pango.tab_array.TabArray tabs() @propertyvoid tabs(pango.tab_array.TabArray propval) @propertyint topMargin() @propertyGet `topMargin` property. Returns: The top margin for text in the text view.void topMargin(int propval) @propertySet `topMargin` property. Params: propval = The top margin for text in the text view.gtk.types.WrapMode wrapMode() @propertyvoid wrapMode(gtk.types.WrapMode propval) @propertygtk.text_view.TextView newWithBuffer(gtk.text_buffer.TextBuffer buffer)Creates a new #GtkTextView widget displaying the buffer buffer. One buffer can be shared among many widgets. buffer may be null to create a default buffer, in which case this function is equivalent...void addChildAtAnchor(gtk.widget.Widget child, gtk.text_child_anchor.TextChildAnchor anchor)Adds a child widget in the text buffer, at the given anchor.void addChildInWindow(gtk.widget.Widget child, gtk.types.TextWindowType whichWindow, int xpos, int ypos)Adds a child at fixed coordinates in one of the text widget's windows.bool backwardDisplayLine(gtk.text_iter.TextIter iter)Moves the given iter backward by one display (wrapped) line. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display line...bool backwardDisplayLineStart(gtk.text_iter.TextIter iter)Moves the given iter backward to the next display line start. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lin...void bufferToWindowCoords(gtk.types.TextWindowType win, int bufferX, int bufferY, out int windowX, out int windowY)Converts coordinate (bufferx, buffery) to coordinates for the window win, and stores the result in (windowx, windowy).bool forwardDisplayLine(gtk.text_iter.TextIter iter)Moves the given iter forward by one display (wrapped) line. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines...bool forwardDisplayLineEnd(gtk.text_iter.TextIter iter)Moves the given iter forward to the next display line end. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines ...bool getAcceptsTab()Returns whether pressing the Tab key inserts a tab characters. [gtk.text_view.TextView.setAcceptsTab]. Returns: true if pressing the Tab key inserts a tab character, false if pressing the Tab key m...int getBorderWindowSize(gtk.types.TextWindowType type)Gets the width of the specified border window. See [gtk.text_view.TextView.setBorderWindowSize].int getBottomMargin()Gets the bottom margin for text in the text_view. Returns: bottom margin in pixelsgtk.text_buffer.TextBuffer getBuffer()Returns the #GtkTextBuffer being displayed by this text view. The reference count on the buffer is not incremented; the caller of this function won’t own a new reference. Returns: a #GtkTextBuffervoid getCursorLocations(gtk.text_iter.TextIter iter, out gdk.rectangle.Rectangle strong, out gdk.rectangle.Rectangle weak)Given an iter within a text layout, determine the positions of the strong and weak cursors if the insertion point is at that iterator. The position of each cursor is stored as a zero-width rectangl...bool getCursorVisible()Find out whether the cursor should be displayed. Returns: whether the insertion mark is visiblegtk.text_attributes.TextAttributes getDefaultAttributes()Obtains a copy of the default text attributes. These are the attributes used for text unless a tag overrides them. You’d typically pass the default attributes in to [gtk.text_iter.TextIter.getAtt...bool getEditable()Returns the default editability of the #GtkTextView. Tags in the buffer may override this setting for some ranges of text. Returns: whether text is editable by defaultgtk.adjustment.Adjustment getHadjustment()Gets the horizontal-scrolling #GtkAdjustment. Returns: pointer to the horizontal #GtkAdjustmentint getIndent()Gets the default indentation of paragraphs in text_view. Tags in the view’s buffer may override the default. The indentation may be negative. Returns: number of pixels of indentationgtk.types.InputHints getInputHints()Gets the value of the #GtkTextView:input-hints property. Returns:gtk.types.InputPurpose getInputPurpose()Gets the value of the #GtkTextView:input-purpose property. Returns:bool getIterAtLocation(out gtk.text_iter.TextIter iter, int x, int y)Retrieves the iterator at buffer coordinates `x` and `y`. Buffer coordinates are coordinates for the entire buffer, not just the currently-displayed portion. If you have coordinates from an event,...bool getIterAtPosition(out gtk.text_iter.TextIter iter, out int trailing, int x, int y)Retrieves the iterator pointing to the character at buffer coordinates `x` and `y`. Buffer coordinates are coordinates for the entire buffer, not just the currently-displayed portion. If you have c...void getIterLocation(gtk.text_iter.TextIter iter, out gdk.rectangle.Rectangle location)Gets a rectangle which roughly contains the character at iter. The rectangle position is in buffer coordinates; use [gtk.text_view.TextView.bufferToWindowCoords] to convert these coordinates to coo...gtk.types.Justification getJustification()Gets the default justification of paragraphs in text_view. Tags in the buffer may override the default. Returns: default justificationint getLeftMargin()Gets the default left margin size of paragraphs in the text_view. Tags in the buffer may override the default. Returns: left margin in pixelsvoid getLineAtY(out gtk.text_iter.TextIter targetIter, int y, out int lineTop)Gets the #GtkTextIter at the start of the line containing the coordinate `y`. `y` is in buffer coordinates, convert from window coordinates with [gtk.textview.TextView.windowToBufferCoords]. If non...void getLineYrange(gtk.text_iter.TextIter iter, out int y, out int height)Gets the y coordinate of the top of the line containing iter, and the height of the line. The coordinate is a buffer coordinate; convert to window coordinates with [gtk.text_view.TextView.bufferToW...bool getMonospace()Gets the value of the #GtkTextView:monospace property. Returns: true if monospace fonts are desiredbool getOverwrite()Returns whether the #GtkTextView is in overwrite mode or not. Returns: whether text_view is in overwrite mode or not.int getPixelsAboveLines()Gets the default number of pixels to put above paragraphs. Adding this function with [gtk.text_view.TextView.getPixelsBelowLines] is equal to the line space between each paragraph. Returns: default...int getPixelsBelowLines()Gets the value set by [gtk.text_view.TextView.setPixelsBelowLines].int getPixelsInsideWrap()Gets the value set by [gtk.text_view.TextView.setPixelsInsideWrap]. Returns: default number of pixels of blank space between wrapped linesint getRightMargin()Gets the default right margin for text in text_view. Tags in the buffer may override the default. Returns: right margin in pixelspango.tab_array.TabArray getTabs()Gets the default tabs for textview. Tags in the buffer may override the defaults. The returned array will be null if “standard” (8-space) tabs are used. Free the return value with [pango.tabarr...int getTopMargin()Gets the top margin for text in the text_view. Returns: top margin in pixelsgtk.adjustment.Adjustment getVadjustment()Gets the vertical-scrolling #GtkAdjustment. Returns: pointer to the vertical #GtkAdjustmentvoid getVisibleRect(out gdk.rectangle.Rectangle visibleRect)Fills visiblerect with the currently-visible region of the buffer, in buffer coordinates. Convert to window coordinates with [gtk.textview.TextView.bufferToWindowCoords].gdk.window.Window getWindow(gtk.types.TextWindowType win)Retrieves the #GdkWindow corresponding to an area of the text view; possible windows include the overall widget window, child windows on the left, right, top, bottom, and the window that displays t...gtk.types.TextWindowType getWindowType(gdk.window.Window window)Usually used to find out which window an event corresponds to.gtk.types.WrapMode getWrapMode()Gets the line wrapping for the view. Returns: the line wrap settingbool imContextFilterKeypress(gdk.event_key.EventKey event)Allow the #GtkTextView input method to internally handle key press and release events. If this function returns true, then no further processing should be done for this key event. See [gtk.imcontex...void moveChild(gtk.widget.Widget child, int xpos, int ypos)Updates the position of a child, as for [gtk.text_view.TextView.addChildInWindow].bool moveMarkOnscreen(gtk.text_mark.TextMark mark)Moves a mark within the buffer so that it's located within the currently-visible text area.bool moveVisually(gtk.text_iter.TextIter iter, int count)Move the iterator a given number of characters visually, treating it as the strong cursor position. If count is positive, then the new strong cursor position will be count positions to the right of...bool placeCursorOnscreen()Moves the cursor to the currently visible region of the buffer, it it isn’t there already. Returns: true if the cursor had to be moved.void resetCursorBlink()Ensures that the cursor is shown (i.e. not in an 'off' blink interval) and resets the time that it will stay blinking (or visible, in case blinking is disabled).void resetImContext()Reset the input method context of the text view if needed.void scrollMarkOnscreen(gtk.text_mark.TextMark mark)Scrolls text_view the minimum distance such that mark is contained within the visible area of the widget.bool scrollToIter(gtk.text_iter.TextIter iter, double withinMargin, bool useAlign, double xalign, double yalign)Scrolls textview so that iter is on the screen in the position indicated by xalign and yalign. An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If usealig...void scrollToMark(gtk.text_mark.TextMark mark, double withinMargin, bool useAlign, double xalign, double yalign)Scrolls textview so that mark is on the screen in the position indicated by xalign and yalign. An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If usealig...void setAcceptsTab(bool acceptsTab)Sets the behavior of the text widget when the Tab key is pressed. If acceptstab is true, a tab character is inserted. If acceptstab is false the keyboard focus is moved to the next widget in the fo...void setBorderWindowSize(gtk.types.TextWindowType type, int size)Sets the width of [gtk.types.TextWindowType.Left] or [gtk.types.TextWindowType.Right], or the height of [gtk.types.TextWindowType.Top] or [gtk.types.TextWindowType.Bottom]. Automatically destroys t...void setBottomMargin(int bottomMargin)Sets the bottom margin for text in text_view.void setBuffer(gtk.text_buffer.TextBuffer buffer = null)Sets buffer as the buffer being displayed by text_view. The previous buffer displayed by the text view is unreferenced, and a reference is added to buffer. If you owned a reference to buffer before...void setCursorVisible(bool setting)Toggles whether the insertion point should be displayed. A buffer with no editable text probably shouldn’t have a visible cursor, so you may want to turn the cursor off.void setEditable(bool setting)Sets the default editability of the #GtkTextView. You can override this default setting with tags in the buffer, using the “editable” attribute of tags.void setIndent(int indent)Sets the default indentation for paragraphs in text_view. Tags in the buffer may override the default.void setInputHints(gtk.types.InputHints hints)Sets the #GtkTextView:input-hints property, which allows input methods to fine-tune their behaviour.void setInputPurpose(gtk.types.InputPurpose purpose)Sets the #GtkTextView:input-purpose property which can be used by on-screen keyboards and other input methods to adjust their behaviour.void setJustification(gtk.types.Justification justification)Sets the default justification of text in text_view. Tags in the view’s buffer may override the default.void setLeftMargin(int leftMargin)Sets the default left margin for text in text_view. Tags in the buffer may override the default.void setMonospace(bool monospace)Sets the #GtkTextView:monospace property, which indicates that the text view should use monospace fonts.void setOverwrite(bool overwrite)Changes the #GtkTextView overwrite mode.void setPixelsAboveLines(int pixelsAboveLines)Sets the default number of blank pixels above paragraphs in textview. Tags in the buffer for textview may override the defaults.void setPixelsBelowLines(int pixelsBelowLines)Sets the default number of pixels of blank space to put below paragraphs in textview. May be overridden by tags applied to textview’s buffer.void setPixelsInsideWrap(int pixelsInsideWrap)Sets the default number of pixels of blank space to leave between display/wrapped lines within a paragraph. May be overridden by tags in text_view’s buffer.void setRightMargin(int rightMargin)Sets the default right margin for text in the text view. Tags in the buffer may override the default.void setTabs(pango.tab_array.TabArray tabs)Sets the default tab stops for paragraphs in text_view. Tags in the buffer may override the default.void setTopMargin(int topMargin)Sets the top margin for text in text_view.void setWrapMode(gtk.types.WrapMode wrapMode)Sets the line wrapping for the view.bool startsDisplayLine(gtk.text_iter.TextIter iter)Determines whether iter is at the start of a display line. See [gtk.text_view.TextView.forwardDisplayLine] for an explanation of display lines vs. paragraphs.void windowToBufferCoords(gtk.types.TextWindowType win, int windowX, int windowY, out int bufferX, out int bufferY)Converts coordinates on the window identified by win to buffer coordinates, storing the result in (bufferx,buffery).gulong connectBackspace(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.text_view.TextView)))
&& Parameters!T.length < 2)Connect to `Backspace` signal.gulong connectCopyClipboard(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.text_view.TextView)))
&& Parameters!T.length < 2)Connect to `CopyClipboard` signal.gulong connectCutClipboard(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.text_view.TextView)))
&& Parameters!T.length < 2)Connect to `CutClipboard` signal.gulong connectDeleteFromCursor(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gtk.types.DeleteType)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == int)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.text_view.TextView)))
&& Parameters!T.length < 4)Connect to `DeleteFromCursor` signal.gulong connectExtendSelection(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gtk.types.TextExtendSelection)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == gtk.text_iter.TextIter)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] == gtk.text_iter.TextIter)))
&& (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.none && is(Parameters!T[3] == gtk.text_iter.TextIter)))
&& (Parameters!T.length < 5 || (ParameterStorageClassTuple!T[4] == ParameterStorageClass.none && is(Parameters!T[4] : gtk.text_view.TextView)))
&& Parameters!T.length < 6)Connect to `ExtendSelection` signal.gulong connectInsertAtCursor(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == string)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.text_view.TextView)))
&& Parameters!T.length < 3)Connect to `InsertAtCursor` signal.gulong connectInsertEmoji(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.text_view.TextView)))
&& Parameters!T.length < 2)Connect to `InsertEmoji` signal.gulong connectMoveCursor(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gtk.types.MovementStep)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == int)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] == bool)))
&& (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.none && is(Parameters!T[3] : gtk.text_view.TextView)))
&& Parameters!T.length < 5)Connect to `MoveCursor` signal.gulong connectMoveViewport(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gtk.types.ScrollStep)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == int)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.text_view.TextView)))
&& Parameters!T.length < 4)Connect to `MoveViewport` signal.gulong connectPasteClipboard(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.text_view.TextView)))
&& Parameters!T.length < 2)Connect to `PasteClipboard` signal.gulong connectPopulatePopup(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.widget.Widget)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.text_view.TextView)))
&& Parameters!T.length < 3)Connect to `PopulatePopup` signal.gulong connectPreeditChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == string)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.text_view.TextView)))
&& Parameters!T.length < 3)Connect to `PreeditChanged` signal.gulong connectSelectAll(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == bool)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.text_view.TextView)))
&& Parameters!T.length < 3)Connect to `SelectAll` signal.gulong connectSetAnchor(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.text_view.TextView)))
&& Parameters!T.length < 2)Connect to `SetAnchor` signal.gulong connectToggleCursorVisible(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.text_view.TextView)))
&& Parameters!T.length < 2)Connect to `ToggleCursorVisible` signal.gulong connectToggleOverwrite(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.text_view.TextView)))
&& Parameters!T.length < 2)Connect to `ToggleOverwrite` signal.classTextViewGidBuilderImpl(T) : gtk.container.ContainerGidBuilderImpl!T, gtk.scrollable.ScrollableGidBuilderImpl!T
Methods
T acceptsTab(bool propval)T bottomMargin(int propval)Set `bottomMargin` property. Params: propval = The bottom margin for text in the text view.T buffer(gtk.text_buffer.TextBuffer propval)T cursorVisible(bool propval)T editable(bool propval)T imModule(string propval)Set `imModule` property. Params: propval = Which IM (input method) module should be used for this text_view. See #GtkIMContext.T indent(int propval)T inputHints(gtk.types.InputHints propval)Set `inputHints` property. Params: propval = Additional hints (beyond #GtkTextView:input-purpose) that allow input methods to fine-tune their behaviour. Returns: Builder instance for fluent chainingT inputPurpose(gtk.types.InputPurpose propval)Set `inputPurpose` property. Params: propval = The purpose of this text field.T justification(gtk.types.Justification propval)T leftMargin(int propval)Set `leftMargin` property. Params: propval = The default left margin for text in the text view. Tags in the buffer may override the default.T monospace(bool propval)T overwrite(bool propval)T pixelsAboveLines(int propval)T pixelsBelowLines(int propval)T pixelsInsideWrap(int propval)T populateAll(bool propval)Set `populateAll` property. Params: propval = If :populate-all is true, the #GtkTextView::populate-popup signal is also emitted for touch popups. Returns: Builder instance for fluent chainingT rightMargin(int propval)Set `rightMargin` property. Params: propval = The default right margin for text in the text view. Tags in the buffer may override the default.T tabs(pango.tab_array.TabArray propval)T topMargin(int propval)Set `topMargin` property. Params: propval = The top margin for text in the text view.T wrapMode(gtk.types.WrapMode propval)