## IAnjutaEditorFactory IAnjutaEditorFactory — Text editor factory that creates IAnjutaEditor objects |

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <libanjuta/interfaces/ianjuta-editor-factory.h>

    #define             IANJUTA_EDITOR_FACTORY_ERROR
                        IAnjutaEditorFactory;
                        IAnjutaEditorFactoryIface;
    GQuark              ianjuta_editor_factory_error_quark  (void);
    IAnjutaEditor*      ianjuta_editor_factory_new_editor   (IAnjutaEditorFactory *obj,
                                                             GFile *file,
                                                             const gchar *filename,
                                                             GError **err);

## Object Hierarchy

      GInterface
       +----IAnjutaEditorFactory

## Prerequisites

IAnjutaEditorFactory requires GObject.

## Description

## Details

### IANJUTA_EDITOR_FACTORY_ERROR

    #define IANJUTA_EDITOR_FACTORY_ERROR ianjuta_editor_factory_error_quark()

### IAnjutaEditorFactory

    typedef struct _IAnjutaEditorFactory IAnjutaEditorFactory;

### IAnjutaEditorFactoryIface

    typedef struct {
    	GTypeInterface g_iface;

    	IAnjutaEditor* (*new_editor) (IAnjutaEditorFactory *obj, GFile* file,  const gchar* filename, GError **err);
    } IAnjutaEditorFactoryIface;

### ianjuta_editor_factory_error_quark ()

    GQuark              ianjuta_editor_factory_error_quark  (void);

Returns : |

### ianjuta_editor_factory_new_editor ()

    IAnjutaEditor*      ianjuta_editor_factory_new_editor   (IAnjutaEditorFactory *obj,
                                                             GFile *file,
                                                             const gchar *filename,
                                                             GError **err);

Get a new GtkWidget* which implements IAnjutaEditor

`obj` : | Self
`file` : | file to open
`filename` : | filename to open
`err` : | Error propagation and reporting
Returns : | An object implementing IAnjutaEditor