![]() |
![]() |
![]() |
Anjuta Developers Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites |
#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
);
#define IANJUTA_EDITOR_FACTORY_ERROR ianjuta_editor_factory_error_quark()
typedef struct { GTypeInterface g_iface; IAnjutaEditor* (*new_editor) (IAnjutaEditorFactory *obj, GFile* file, const gchar* filename, GError **err); } IAnjutaEditorFactoryIface;
IAnjutaEditor* ianjuta_editor_factory_new_editor (IAnjutaEditorFactory *obj
,GFile *file
,const gchar *filename
,GError **err
);
Get a new GtkWidget* which implements IAnjutaEditor
|
Self |
|
file to open |
|
filename to open |
|
Error propagation and reporting |
Returns : |
An object implementing IAnjutaEditor |