Class

GntTextView

Description

final class Gnt.TextView : Gnt.Widget {
  /* No available fields */
}
No description available.

Constructors

gnt_text_view_new

Create a new textview.

Instance methods

gnt_text_view_append_text_with_flags

Append new text in a textview.

gnt_text_view_append_text_with_tag

Append text in the textview, with some identifier (tag) for the added text.

gnt_text_view_attach_editor_widget

Setup appropriate hooks so that pressing some keys when ‘widget’ is in focus triggers the EDITOR to popup with the contents of the textview in it.

gnt_text_view_attach_pager_widget

Setup appropriate hooks so that pressing some keys when the ‘pager’ widget is in focus triggers the PAGER to popup with the contents of the textview in it.

gnt_text_view_attach_scroll_widget

Setup hooks so that pressing up/down/page-up/page-down keys when ‘widget’ is in focus scrolls the textview.

gnt_text_view_clear

Clear the contents of the textview.

gnt_text_view_get_lines_above

The number of lines above the topmost visible line.

gnt_text_view_get_lines_below

The number of lines below the bottom-most visible line.

gnt_text_view_get_text

Get the text of the textview.

since: 2.14

gnt_text_view_next_line

Move the cursor to the beginning of the next line and resets text-attributes. It first completes the current line with the current text-attributes.

gnt_text_view_scroll

Scroll the textview.

gnt_text_view_set_flag

Set a GntTextViewFlag for the textview widget.

since: 2.1

gnt_text_view_tag_change

Change the text of a tag.

Methods inherited from GntWidget (48)

Please see GntWidget for a full list of methods.

Methods inherited from GntBindable (6)
gnt_bindable_bindings_view

Returns a GntTree populated with “key” -> “binding” for the widget.

since: 2.1.1

gnt_bindable_build_help_window

Builds a window that list the key bindings for a GntBindable object. From this window a user can select a listing to rebind a new key for the given action.

since: 2.1.1

gnt_bindable_check_key

Discover if a key is bound.

since: 2.4.2

gnt_bindable_perform_action_key

Perform an action from a keybinding.

gnt_bindable_perform_action_named

Perform an action on a bindable object.

gnt_bindable_remap_keys
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GntWidget (15)
GntWidget::activate
No description available.

GntWidget::clicked
No description available.

GntWidget::confirm-size
No description available.

GntWidget::context-menu
No description available.

GntWidget::destroy
No description available.

GntWidget::draw
No description available.

GntWidget::expose
No description available.

GntWidget::gained-focus
No description available.

GntWidget::hide
No description available.

GntWidget::key-pressed
No description available.

GntWidget::lost-focus
No description available.

GntWidget::map
No description available.

GntWidget::position-set
No description available.

GntWidget::size-changed
No description available.

GntWidget::size-request
No description available.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GntTextViewClass {
  GntWidgetClass parent_class;
  
}
No description available.
Class members
parent_class: GntWidgetClass
No description available.