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 slot access function gtk-entry-completion-text-column returns the column in the model of the completion to get strings from. The slot access function (setf gtk-entry-completion-text-column) 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 for the selected column. If you need to set the text column, but do not want the cell renderer, use the function g-object-property to set the text-column property directly.
 

See also

2020-5-31