[prev in list] [next in list] [prev in thread] [next in thread]
List: gtkmm
Subject: Re: Update TreeModel when TreeView changes
From: Giuseppe Penone <giuspen () gmail ! com>
Date: 2012-06-11 21:18:20
Message-ID: CAArGEPHOEYY0366e4ZgToGFM0NCje2zgSo9YUZZKqwKgqbYiTQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
there's an example on the online book
http://developer.gnome.org/gtkmm-tutorial/unstable/sec-treeview-examples.html.en#sec-editable-cells-example
it's gtkmm3 but the differences are not so many.
I personally prefer to add treeview / liststore from code to a glade
scrolledwindow but I don't think
it's difficult to retrieve the pointers to the glade defined elements.
Cheers,
Giuseppe.
On Mon, Jun 11, 2012 at 3:14 PM, Florian Philipp <lists@binarywings.net>wrote:
> Hi list!
>
> I image this must be an FAQ (or I'm just incredibly bad at reading docs)
> but I've not yet found an acceptable solution:
>
> I have a TreeModel and a ListStore, both defined in Glade. How can I
> make the cells editable so that changes are reflected in the ListStore?
> Preferably in a way that doesn't break every time I change the layout in
> Glade.
>
> If it matters, I'm stuck on Gtkmm-2.4
>
> Thanks in advance!
> Florian Philipp
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
[Attachment #5 (text/html)]
Hi,<br>there's an example on the online book<br><a \
href="http://developer.gnome.org/gtkmm-tutorial/unstable/sec-treeview-examples.html.en \
#sec-editable-cells-example">http://developer.gnome.org/gtkmm-tutorial/unstable/sec-treeview-examples.html.en#sec-editable-cells-example</a><br>
it's gtkmm3 but the differences are not so many.<br>I personally prefer to add \
treeview / liststore from code to a glade scrolledwindow but I don't \
think<br>it's difficult to retrieve the pointers to the glade defined \
elements.<br> Cheers,<br>Giuseppe.<br><br><br><div class="gmail_quote">On Mon, Jun \
11, 2012 at 3:14 PM, Florian Philipp <span dir="ltr"><<a \
href="mailto:lists@binarywings.net" \
target="_blank">lists@binarywings.net</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi list!<br> <br>
I image this must be an FAQ (or I'm just incredibly bad at reading docs)<br>
but I've not yet found an acceptable solution:<br>
<br>
I have a TreeModel and a ListStore, both defined in Glade. How can I<br>
make the cells editable so that changes are reflected in the ListStore?<br>
Preferably in a way that doesn't break every time I change the layout in<br>
Glade.<br>
<br>
If it matters, I'm stuck on Gtkmm-2.4<br>
<br>
Thanks in advance!<br>
<span class="HOEnZb"><font color="#888888">Florian Philipp<br>
<br>
</font></span><br>_______________________________________________<br>
gtkmm-list mailing list<br>
<a href="mailto:gtkmm-list@gnome.org">gtkmm-list@gnome.org</a><br>
<a href="https://mail.gnome.org/mailman/listinfo/gtkmm-list" \
target="_blank">https://mail.gnome.org/mailman/listinfo/gtkmm-list</a><br> \
<br></blockquote></div><br>
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic