GtefView

GtefView — Widget that displays a GtefBuffer

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkTextView
                    ╰── GtkSourceView
                        ╰── GtefView

Implemented Interfaces

GtefView implements AtkImplementorIface, GtkBuildable and GtkScrollable.

Includes

#include <gtef/gtef.h>

Description

GtefView is a subclass of GtkSourceView, to add more features useful for a text editor.

Functions

gtef_view_new ()

GtkWidget *
gtef_view_new (void);

Returns

a new GtefView.

Since: 1.0


gtef_view_cut_clipboard ()

void
gtef_view_cut_clipboard (GtefView *view);

Cuts the clipboard and then scrolls to the cursor position.

Parameters

view

a GtefView.

 

Since: 1.0


gtef_view_copy_clipboard ()

void
gtef_view_copy_clipboard (GtefView *view);

Copies the clipboard.

Parameters

view

a GtefView.

 

Since: 1.0


gtef_view_paste_clipboard ()

void
gtef_view_paste_clipboard (GtefView *view);

Pastes the clipboard and then scrolls to the cursor position.

Parameters

view

a GtefView.

 

Since: 1.0


gtef_view_delete_selection ()

void
gtef_view_delete_selection (GtefView *view);

Deletes the text currently selected in the GtkTextBuffer associated to the view and then scrolls to the cursor position.

Parameters

view

a GtefView.

 

Since: 1.0


gtef_view_select_all ()

void
gtef_view_select_all (GtefView *view);

Selects all the text.

Parameters

view

a GtefView.

 

Since: 1.0


gtef_view_scroll_to_cursor ()

void
gtef_view_scroll_to_cursor (GtefView *view);

Scrolls the view to the cursor position.

Parameters

view

a GtefView.

 

Since: 1.0

Types and Values

GtefView

typedef struct _GtefView GtefView;