EntryCompletion.setTextColumn

Convenience function for setting up the most used case of this code: 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.CellRendererText for the selected column. If you need to set the text column, but don't want the cell renderer, use gobject.object.ObjectG.set to set the propertyGtk.EntryCompletion:text-column property directly.

More...
class EntryCompletion
void
setTextColumn
(
int column
)

Parameters

column int

the column in the model of completion to get strings from

Detailed Description

Deprecated: GtkEntryCompletion will be removed in GTK 5.