| Anjuta Developers Reference Manual |
|---|
ianjuta-editor-factory —
#define IANJUTA_EDITOR_FACTORY_ERROR struct IAnjutaEditorFactory; struct IAnjutaEditorFactoryIface; GQuark ianjuta_editor_factory_error_quark (void); IAnjutaEditor* ianjuta_editor_factory_new_editor (IAnjutaEditorFactory *obj, const gchar *uri, const gchar *filename, GError **err);
GInterface +----IAnjutaEditorFactory
IAnjutaEditorFactory requires GObject.
#define IANJUTA_EDITOR_FACTORY_ERROR ianjuta_editor_factory_error_quark()
struct IAnjutaEditorFactoryIface {
GTypeInterface g_iface;
IAnjutaEditor* (*new_editor) (IAnjutaEditorFactory *obj, const gchar* uri, const gchar* filename, GError **err);
};
IAnjutaEditor* ianjuta_editor_factory_new_editor (IAnjutaEditorFactory *obj, const gchar *uri, const gchar *filename, GError **err);
Get a new GtkWidget* which implements IAnjutaEditor
| obj : | Self |
| uri : | Uri to open |
| filename : | filename to open |
| err : | Error propagation and reporting |
| Returns : | An object implementing IAnjutaEditor |
| << ianjuta-editor-folds | ianjuta-buildable >> |