GntWidget * gnt_text_view_new(void)
Create a new textview.
void gnt_text_view_append_text_with_flags(GntTextView *view, const char *text, GntTextFormatFlags flags)
Append new text in a textview.
void gnt_text_view_attach_pager_widget(GntTextView *view, GntWidget *pager)
Setup appropriate hooks so that pressing some keys when the 'pager' widget is in focus triggers the P...
void gnt_text_view_append_text_with_tag(GntTextView *view, const char *text, GntTextFormatFlags flags, const char *tag)
Append text in the textview, with some identifier (tag) for the added text.
chtype gnt_text_format_flag_to_chtype(GntTextFormatFlags flags)
Convert GNT-text formats to ncurses-text attributes.
void gnt_text_view_attach_editor_widget(GntTextView *view, GntWidget *widget)
Setup appropriate hooks so that pressing some keys when 'widget' is in focus triggers the EDITOR to p...
void gnt_text_view_scroll(GntTextView *view, int scroll)
Scroll the textview.
void gnt_text_view_attach_scroll_widget(GntTextView *view, GntWidget *widget)
Setup hooks so that pressing up/down/page-up/page-down keys when 'widget' is in focus scrolls the tex...
int gnt_text_view_get_lines_above(GntTextView *view)
The number of lines above the topmost visible line.
void gnt_text_view_clear(GntTextView *view)
Clear the contents of the textview.
void gnt_text_view_next_line(GntTextView *view)
Move the cursor to the beginning of the next line and resets text-attributes.
G_BEGIN_DECLS GType gnt_text_view_get_gtype(void)
int gnt_text_view_tag_change(GntTextView *view, const char *name, const char *text, gboolean all)
Change the text of a tag.
void gnt_text_view_set_flag(GntTextView *view, GntTextViewFlag flag)
Set a GntTextViewFlag for the textview widget.
int gnt_text_view_get_lines_below(GntTextView *view)
The number of lines below the bottom-most visible line.