Package: gtk

Accessor gtk:entry-completion-text-column

Lambda List

gtk:entry-completion-text-column (object)

Syntax

(gtk:entry-completion-text-column) => column
(setf (gtk:entry-completion-text-column object) column)

Arguments

object -- a gtk:entry-completion object
column -- an integer with the column in the model of the completion to get strings from

Details

Accessor of the text-column slot of the gtk:entry-completion class. The gtk:entry-completion-text-column function returns the column in the model of the completion to get strings from. The (setf gtk:entry-completion-text-column) function is a convenience function for setting up the most used case: a completion list with just strings.

This function will set up completion to have a list displaying all, and just, strings in the completion list, and to get those strings from column in the model of completion.

This functions creates and adds a gtk:cell-renderer-text object for the selected column. If you need to set the text column, but do not want the cell renderer, use the g:object-property function to set the text-column property directly.

Warning

The gtk:entry-completion implementation is deprecated since 4.10. This object will be removed in GTK 5.
 

See also

2024-5-2