![]() |
![]() |
![]() |
Anjuta Developers Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libanjuta/interfaces/ianjuta-editor-assist> #define IANJUTA_EDITOR_ASSIST_ERROR struct IAnjutaEditorAssistIface; struct IAnjutaEditorAssistProposal; void ianjuta_editor_assist_add (IAnjutaEditorAssist *obj
,IAnjutaProvider *provider
,GError **err
); GQuark ianjuta_editor_assist_error_quark (void
); void ianjuta_editor_assist_invoke (IAnjutaEditorAssist *obj
,IAnjutaProvider *provider
,GError **err
); void ianjuta_editor_assist_proposals (IAnjutaEditorAssist *obj
,IAnjutaProvider *provider
,GList *proposals
,gboolean finished
,GError **err
); void ianjuta_editor_assist_remove (IAnjutaEditorAssist *obj
,IAnjutaProvider *provider
,GError **err
);
struct IAnjutaEditorAssistIface { IAnjutaEditorIface g_iface; /* Signal */ void (*cancelled) (IAnjutaEditorAssist *obj); void (*add) (IAnjutaEditorAssist *obj, IAnjutaProvider* provider, GError **err); void (*invoke) (IAnjutaEditorAssist *obj, IAnjutaProvider* provider, GError **err); void (*proposals) (IAnjutaEditorAssist *obj, IAnjutaProvider* provider, GList* proposals, gboolean finished, GError **err); void (*remove) (IAnjutaEditorAssist *obj, IAnjutaProvider* provider, GError **err); };
struct IAnjutaEditorAssistProposal { gchar* label; gchar* markup; gchar* info; gchar* text; GdkPixbuf* icon; gpointer data; };
void ianjuta_editor_assist_add (IAnjutaEditorAssist *obj
,IAnjutaProvider *provider
,GError **err
);
void ianjuta_editor_assist_invoke (IAnjutaEditorAssist *obj
,IAnjutaProvider *provider
,GError **err
);
void ianjuta_editor_assist_proposals (IAnjutaEditorAssist *obj
,IAnjutaProvider *provider
,GList *proposals
,gboolean finished
,GError **err
);
Add the list of proposals for the current population. You can add
proposals async as long as the last call sets finished to TRUE. That
is usually called by the IAnjutaProvider after it was triggered by
ianjuta_provider_populate()
|
self |
|
a IAnjutaProvider |
|
a list of IAnjutaProposals. [element-type IAnjutaEditorAssistProposal] |
|
whether is was the last call in an async operation |
|
Error handling |
void ianjuta_editor_assist_remove (IAnjutaEditorAssist *obj
,IAnjutaProvider *provider
,GError **err
);