## ianjuta-editor-view

ianjuta-editor-view —

##

# Synopsis

    #define     IANJUTA_EDITOR_VIEW_ERROR
    struct      IAnjutaEditorView;
    struct      IAnjutaEditorViewIface;
    GQuark      ianjuta_editor_view_error_quark (void);
    void        ianjuta_editor_view_create      (IAnjutaEditorView *obj,
                                                 GError **err);
    gint        ianjuta_editor_view_get_count   (IAnjutaEditorView *obj,
                                                 GError **err);
    void        ianjuta_editor_view_remove_current
                                                (IAnjutaEditorView *obj,
                                                 GError **err);

## Object Hierarchy

      GInterface
       +----IAnjutaEditorView

## Prerequisites

IAnjutaEditorView requires IAnjutaEditor and GObject.

## Description

## Details

### IANJUTA_EDITOR_VIEW_ERROR

    #define IANJUTA_EDITOR_VIEW_ERROR ianjuta_editor_view_error_quark()

### struct IAnjutaEditorView

    struct IAnjutaEditorView;

### struct IAnjutaEditorViewIface

    struct IAnjutaEditorViewIface {

    	IAnjutaEditorIface g_iface;

    	void (*create) (IAnjutaEditorView *obj, GError **err);
    	gint (*get_count) (IAnjutaEditorView *obj, GError **err);
    	void (*remove_current) (IAnjutaEditorView *obj, GError **err);

    };

### ianjuta_editor_view_error_quark ()

    GQuark      ianjuta_editor_view_error_quark (void);

Returns : |

### ianjuta_editor_view_create ()

    void        ianjuta_editor_view_create      (IAnjutaEditorView *obj,
                                                 GError **err);

Creates a new view for the editor. The newly created view gets the user focus and scrolls to the same location as last view.

`obj` : | Self
`err` : | Error propagation and reporting

### ianjuta_editor_view_get_count ()

    gint        ianjuta_editor_view_get_count   (IAnjutaEditorView *obj,
                                                 GError **err);

Total number of views currently present. It will never be less than 1. Invalid return values are considered error condition.

`obj` : | Self
`err` : | Error propagation and reporting
Returns : |

### ianjuta_editor_view_remove_current ()

    void        ianjuta_editor_view_remove_current
                                                (IAnjutaEditorView *obj,
                                                 GError **err);

Removes currently focused editor view. It does not remove the last view of the editor. That is, if currently there is only one view of the editor, this function does nothing.

`obj` : | Self
`err` : | Error propagation and reporting