![]() |
![]() |
![]() |
Anjuta Developers Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
struct AnjutaCompletionClass; const char * (*AnjutaCompletionNameFunc) (const void *item
); gboolean (*AnjutaCompletionFilterFunc) (const void *item
,void *user_data
); AnjutaCompletion * anjuta_completion_new (AnjutaCompletionNameFunc name_func
); gboolean anjuta_completion_get_case_sensitive (AnjutaCompletion *self
); void anjuta_completion_set_case_sensitive (AnjutaCompletion *self
,gboolean case_sensitive
); void anjuta_completion_set_item_destroy_func (AnjutaCompletion *self
,GDestroyNotify item_destroy_func
); void anjuta_completion_set_filter_func (AnjutaCompletion *self
,AnjutaCompletionFilterFunc filter_func
,void *user_data
); void anjuta_completion_add_item (AnjutaCompletion *self
,void *item
); void anjuta_completion_clear (AnjutaCompletion *self
); GList * anjuta_completion_complete (AnjutaCompletion *self
,const char *prefix
,gint max_completions
);
gboolean (*AnjutaCompletionFilterFunc) (const void *item
,void *user_data
);
AnjutaCompletion * anjuta_completion_new (AnjutaCompletionNameFunc name_func
);
gboolean anjuta_completion_get_case_sensitive
(AnjutaCompletion *self
);
void anjuta_completion_set_case_sensitive (AnjutaCompletion *self
,gboolean case_sensitive
);
void anjuta_completion_set_item_destroy_func (AnjutaCompletion *self
,GDestroyNotify item_destroy_func
);
|
a AnjutaCompletion |
|
the function to be called on the added items when the AnjutaCompletion object is destroyed. [allow-none] |
void anjuta_completion_set_filter_func (AnjutaCompletion *self
,AnjutaCompletionFilterFunc filter_func
,void *user_data
);
void anjuta_completion_add_item (AnjutaCompletion *self
,void *item
);
Add an item to the completion.
|
a AnjutaCompletion |
|
the item to be added. |
void anjuta_completion_clear (AnjutaCompletion *self
);
Clear all items added to the completion.
|
a AnjutaCompletion |
GList * anjuta_completion_complete (AnjutaCompletion *self
,const char *prefix
,gint max_completions
);
|
A AnjutaCompletion |
|
The prefix to complete against. |
Returns : |
The list of completions that matched
prefix . [transfer container]
|