Re: Added editable cells, but they don't change value
- From: Dave Bartmess <dingodave edingo net>
- To: gtkmm-list gnome org
- Subject: Re: Added editable cells, but they don't change value
- Date: Sun, 15 Jun 2008 23:39:41 -0600
On Sunday 15 June 2008 11:27:03 pm Dave Bartmess wrote:
> I looked at the docs at
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch08s08.html, but I
> still don't understand this.
>
> I have three columns, each added using m_TreeView.append_column_editable(),
> and when I go into the app, I can edit the value of each cell, but when I
> hit enter, it goes back to the original value. How do I notify the app to
> load the new value and keep it in the refListStore for future use?
>
> Thanks!
Fixed this. Seems like writing an email purges my mind for cleaner thinking.
Had to move the setModel() call BEFORE the append_column_editable() calls, or
it wouldn't really be editable.
Thanks for the patience! I'm learning a LOT...
--
Dave Bartmess
http://edingo.net
____________________________________
Member of the Internation Internet Leathercrafters Guild (http://iilg.org)
Member of the Columbine Leather Guild (http://edingo.net/columbine)
____________________________________
It used to be said that an infinite number of monkeys,
given typewriters, would eventually reproduce the complete
works of Shakespeare. Now, thanks to the internet,
we know this is not in fact the case.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]