Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | pluma_view_new () |
void | pluma_view_cut_clipboard () |
void | pluma_view_copy_clipboard () |
void | pluma_view_paste_clipboard () |
void | pluma_view_delete_selection () |
void | pluma_view_select_all () |
void | pluma_view_scroll_to_cursor () |
void | pluma_view_set_font () |
GtkWidget *
pluma_view_new (PlumaDocument *doc
);
Creates a new PlumaView object displaying the doc
document.
doc
cannot be NULL
.
void
pluma_view_delete_selection (PlumaView *view
);
Deletes the text currently selected in the GtkTextBuffer associated to the view and scroll to the cursor position.
void
pluma_view_select_all (PlumaView *view
);
Selects all the text displayed in the view
.
void
pluma_view_scroll_to_cursor (PlumaView *view
);
Scrolls the view
to the cursor position.
void pluma_view_set_font (PlumaView *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
.