RE: GtkCellEditable or a better way?

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

 



> From: Andrej Prsa [mailto:andrej.prsa@guest.arnes.si] 
[snip]
> This works in 
> showing the rows
> properly, but I don't have a clue on how to make a checkbox editable.

You have to connect your own callbacks to the CellRenders and set the new
data in the model. It's tedious. See the editable_cells part of the
gtk-demo, in the GTK+ tarball.

It's much easier in gtkmm. We have Gtk::TreeView::append_column_editable():
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s02.html#id2877740

Murray Cumming
murrayc@usa.net
www.murrayc.com


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux