| gedit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
GeditViewPrivate; struct GeditView; GtkWidget * gedit_view_new (GeditDocument *doc); void gedit_view_cut_clipboard (GeditView *view); void gedit_view_copy_clipboard (GeditView *view); void gedit_view_paste_clipboard (GeditView *view); void gedit_view_delete_selection (GeditView *view); void gedit_view_select_all (GeditView *view); void gedit_view_scroll_to_cursor (GeditView *view); void gedit_view_set_font (GeditView *view,gboolean def,const gchar *font_name);
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.
|
a GeditDocument |
Returns : |
a new GeditView |
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.
|
a GeditView |
void gedit_view_select_all (GeditView *view);
Selects all the text displayed in the view.
|
a GeditView |
void gedit_view_scroll_to_cursor (GeditView *view);
Scrolls the view to the cursor position.
|
a GeditView |