Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | xed_view_new () |
void | xed_view_cut_clipboard () |
void | xed_view_copy_clipboard () |
void | xed_view_paste_clipboard () |
void | xed_view_delete_selection () |
void | xed_view_select_all () |
void | xed_view_scroll_to_cursor () |
void | xed_view_set_font () |
void | xed_view_set_draw_whitespace () |
void | xed_view_update_draw_whitespace_locations_and_types () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkTextView ╰── GtkSourceView ╰── XedView
GtkWidget *
xed_view_new (XedDocument *doc
);
Creates a new XedView object displaying the doc
document.
doc
cannot be NULL
.
void
xed_view_delete_selection (XedView *view
);
Deletes the text currently selected in the GtkTextBuffer associated to the view and scroll to the cursor position.
void
xed_view_select_all (XedView *view
);
Selects all the text displayed in the view
.
void
xed_view_scroll_to_cursor (XedView *view
);
Scrolls the view
to the cursor position.
void xed_view_set_font (XedView *view
,gboolean def
,const gchar *font_name
);
If def
is TRUE, resets the font of the view
to the default font
otherwise sets it to font_name
.
view |
a XedView |
|
def |
whether to reset the default font |
|
font_name |
the name of the font to use |
void xed_view_set_draw_whitespace (XedView *view
,gboolean enable
);
Enables or disables rendering of any whitespace.
The locations and types of whitespace to render is set by
xed_view_update_draw_whitespace_locations_and_types()
“drop-uris”
signalvoid user_function (XedView *xedview, GStrv arg1, gpointer user_data)
Flags: Action