Re: GTK CList Question



martyn 2 russell bt com writes:
Regarding extended functionality in clists, is it possible to add a checkbox
at the start of each row in the clist? By possibly adding a separate column
and using checkboxes in each row....?


For CList the only real way to do checkboxes is to have a pixmap for
the checked and unchecked states, and toggle the pixmaps on
button_press_event.

GtkTreeView supports checkboxes natively.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]