11.9.
The signals that bring it together
As with all other widgets, there are a few
signals that can be used. The CList widget is derived from the Container
widget, and so has all the same signals, but also adds the following:
select_row - This signal will send
the following information, in order: clist, row, column, event
unselect_row - When the user unselects
a row, this signal is activated. It sends the same information as select_row
click_column - Send clist, column
So if we want to connect a callback to select_row,
the callback would be declared like this
def select_row_callback(widget, row, column, event, data):
|
The callback is connected as usual with
clist.connect("select_row", select_row_callback, data)
|