set_text_column


Description:

[ Version ( since = "2.4" ) ]
public void set_text_column (int column)

Convenience function for setting up the most used case of this code: a completion list with just strings.

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

This functions creates and adds a CellRendererText for the selected column. If you need to set the text column, but don't want the cell renderer, use @set to set the text_column property directly.

Parameters:

this

a EntryCompletion

column

the column in the model of this to get strings from