Well, what you want is a way to catch/handle the data that always changes
and you want to show it on screen in anytime, right? There's no good
solutions for that, I mean you must make an algorithm to do that by
yourself. Why? Don't always lets Gtk or QT or something else stores our
data because the
Swap items in your data_list in response to rows-reordered signal on the model?
As for data_list, in your example you have multiple sources but the data_list
is only one, so working on it makes sense. Could you try applying these
suggestions to your example so we can see what doesn't work?
On J
On 2018-06-02 20:07 '-' wrote:
> Can you make the data_list a field on your class? It's a list
> with indices, right? Then, on the iter you get from your selection,
> use gtk_tree_model_get_path and gtk_tree_path_get_indices. Finally
> get the item from your data_list by that index.
You mean e. g
Try a relational database. Sqlite is an easy one to use. It can sort and save
data to multiple tables. Use the list model and treeview to retrieve and view
the data. That way the columns can be set up dynamically along with the
renderer. Use SQL to update the database.
Eric
__
Hello. Can you make the data_list a field on your class? It's a list with
indices, right? Then, on the iter you get from your selection, use
gtk_tree_model_get_path and gtk_tree_path_get_indices. Finally get the item
from your data_list by that index.
On June 2, 2018 3:09:25 PM GMT+03:00, c.bu.
Does no one has an idea?
Am I the only one facing such problems?
https://stackoverflow.com/q/50643938/4865723
On 2018-05-31 23:59 wrote:
> I am looking for an elegant and pythonic way to connect the model of a
> Gtk.ListStore (the content container for a Gtk.TreeView) to the real
> data.
>
> Th
I opened a question on StackOverflow about this and created a (not so)
minimal working example for it there.
https://stackoverflow.com/q/50643938/4865723
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/lis