The CList widget is a multi-column list widget that is capable of handling literally thousands of rows of information. Each column can optionally have a title, which itself is optionally active, allowing us to bind a callback to its selection.
Not all columns have to be visible and
can be used to store data that is related to a certain cell in the list.
clist = GtkCList(columns) clist = GtkCList(columns, titles)
The first form is very straightforward, the second might require some explanation. Each column can have a title associated with it, and this title can be a label or a button that reacts when we click on it. If we use the second form, we must provide a list of title texts, and the number of list items should equal the number of columns specified. Of course we can always use the first form, and manually add titles later.
Note: The CList widget does not have its own scrollbars and should be placed within a ScrolledWindow widget if you require this functionality.