RE: GtkCellEditable or a better way?
- From: Murray Cumming Comneon com
- To: andrej prsa guest arnes si, gtk-list gnome org
- Subject: RE: GtkCellEditable or a better way?
- Date: Sat, 12 Jul 2003 18:05:34 +0200
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]