DEFINITION MODULE FOR "C" GtkEntryCompletion ; (* m2-GTK4 - GtkEntryCompletion: inline completion for a GtkEntry. Mapped onto (deprecated; it uses the deprecated GtkTreeModel as its model). gtk_entry_completion_set_model() takes a GtkTreeModel * (an ADDRESS; NIL for none). The text column is the model column holding the string, set with set_text_column. Attach to an entry with GtkEntry.gtk_entry_set_completion(). *) FROM SYSTEM IMPORT ADDRESS; EXPORT UNQUALIFIED GtkEntryCompletion, gtk_entry_completion_new, gtk_entry_completion_set_model, gtk_entry_completion_get_model, gtk_entry_completion_set_text_column, gtk_entry_completion_get_text_column, gtk_entry_completion_set_minimum_key_length, gtk_entry_completion_get_minimum_key_length, gtk_entry_completion_set_popup_completion, gtk_entry_completion_complete, gtk_entry_completion_get_completion_prefix; TYPE GtkEntryCompletion = ADDRESS; (* GtkEntryCompletion *gtk_entry_completion_new(void) *) PROCEDURE gtk_entry_completion_new () : GtkEntryCompletion; (* void gtk_entry_completion_set_model(GtkEntryCompletion *completion, GtkTreeModel *model) *) PROCEDURE gtk_entry_completion_set_model (completion: GtkEntryCompletion; model: ADDRESS); (* GtkTreeModel *gtk_entry_completion_get_model(GtkEntryCompletion *completion) *) PROCEDURE gtk_entry_completion_get_model (completion: GtkEntryCompletion) : ADDRESS; (* void gtk_entry_completion_set_text_column(GtkEntryCompletion *completion, int column) *) PROCEDURE gtk_entry_completion_set_text_column (completion: GtkEntryCompletion; column: INTEGER); (* int gtk_entry_completion_get_text_column(GtkEntryCompletion *completion) *) PROCEDURE gtk_entry_completion_get_text_column (completion: GtkEntryCompletion) : INTEGER; (* void gtk_entry_completion_set_minimum_key_length(GtkEntryCompletion *completion, int length) *) PROCEDURE gtk_entry_completion_set_minimum_key_length (completion: GtkEntryCompletion; length: INTEGER); (* int gtk_entry_completion_get_minimum_key_length(GtkEntryCompletion *completion) *) PROCEDURE gtk_entry_completion_get_minimum_key_length (completion: GtkEntryCompletion) : INTEGER; (* void gtk_entry_completion_set_popup_completion(GtkEntryCompletion *completion, gboolean popup_completion) *) PROCEDURE gtk_entry_completion_set_popup_completion (completion: GtkEntryCompletion; popup_completion: INTEGER); (* void gtk_entry_completion_complete(GtkEntryCompletion *completion) *) PROCEDURE gtk_entry_completion_complete (completion: GtkEntryCompletion); (* const char *gtk_entry_completion_get_completion_prefix( GtkEntryCompletion *completion) *) PROCEDURE gtk_entry_completion_get_completion_prefix (completion: GtkEntryCompletion) : ADDRESS; END GtkEntryCompletion.