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/StefanSalewski/gintro/blob/master/examples/listview.nim](https://github.com/StefanSalewski/gintro/blob/master/examples/listview.nim) But I need a listview(gtktreeview) with two columns I looked into nim.gtk but can't figure out which "casts" i should spell. The relevant code in the demo program: let gtype = typeFromName("gchararray") let store = newListStore(N_COLUMNS, cast[pointer]( unsafeaddr gtype)) # cast due to bug in gtk.nim This works nice for N_COLUMNS=1 but not N_COLUMNS:2 Here is the relevant part in nim.gtk: proc newListStore*(nColumns: int; types: GTypeArray): ListStore = let gobj = gtk_list_store_newv(int32(nColumns), types) Second when i have multiple colums I would like to make it sortable by clicking on the header (just like an excel table)
