Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | gedit_view_new () |
void | gedit_view_cut_clipboard () |
void | gedit_view_copy_clipboard () |
void | gedit_view_paste_clipboard () |
void | gedit_view_delete_selection () |
void | gedit_view_select_all () |
void | gedit_view_scroll_to_cursor () |
void | gedit_view_set_font () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkTextView ╰── GtkSourceView ╰── GeditView
GtkWidget *
gedit_view_new (GeditDocument *doc
);
Creates a new GeditView object displaying the doc
document.
doc
cannot be NULL
.
void
gedit_view_delete_selection (GeditView *view
);
Deletes the text currently selected in the GtkTextBuffer associated to the view and scroll to the cursor position.
void
gedit_view_select_all (GeditView *view
);
Selects all the text displayed in the view
.
void
gedit_view_scroll_to_cursor (GeditView *view
);
Scrolls the view
to the cursor position.
void gedit_view_set_font (GeditView *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
.
“change-case”
signalvoid user_function (GeditView *geditview, GtkSourceChangeCaseType arg1, gpointer user_data)
Flags: Action
“drop-uris”
signalvoid user_function (GeditView *geditview, GStrv arg1, gpointer user_data)
Flags: Action