Re: gintro demo with two columns in a listview / gtktreeview and sortable

2019-03-16 Thread Stefan_Salewski
OK, as promised here is a very basic example of a three column treeview: import gintro/[glib, gobject, gtk] import gintro/gio except ListStore const GroceryList = [(true, 1, "Paper Towels"), (true, 2, "Bread"), (false, 1, "Butter"), (true, 1,

Re: gintro demo with two columns in a listview / gtktreeview and sortable

2019-03-13 Thread lscrd
I have used "gintro" with a TreeView. There are some things that do not work the way I want (for instance the impossibility in Gtk3 to use alternate colors for rows if the theme doesn’t provide it), so I still use my previous version in gtk2. But here is how I proceed using _gintro_. To allocat

Re: gintro demo with two columns in a listview / gtktreeview and sortable

2019-03-13 Thread Stefan_Salewski
> I try to port a small ruby+qt application to nim.For nim language there is > only one gui toolkit working for me and that is gintro. There should be many more working GUI toolkits now, like xnim, qlm, wxwidgets, win and the genUI ones from Mr Munch. I think Nim has a few paid devs currently,

gintro demo with two columns in a listview / gtktreeview and sortable

2019-03-12 Thread devosalain2
I try to port a small ruby+qt application to nim For nim language there is only one gui toolkit working for me and that is gintro. [http://ssalewski.de/gintroreadme.html](http://ssalewski.de/gintroreadme.html) The democode listview compiles and runs nice on my netbsd. [https://github.com/Stefan