Hi,
The problem:
I am converting a list managing program from pyGtk to Genie.
I want to clear and reconstruct columns dynamically to suit various 2
dimensional tables.
I want to use Gtk.TreeView.get_columns to clear
the columns
I cant get this to compile: I am using the windows port of valac
7.0
for col in treeview.get_columns()
treeview.remove_column(col)
I tried assigning the columns to a list. I could not
do that until I installed libGee but it still does not want to assign to that
list.
Can’t I use a Glib list? Is a libGee list
compatible with a Glib list?
Because Vala and Genie are statically typed I presume I
would have to declare a list of treecolumns. How would I do that?
Can I have an anonymous list and typecast each element?
Most things are converting nicely but I get stuck every so
often. Fantastic language but we need some more examples and
documentation.
I am using Glade3 to develop the GUI and genie reads that
without problems with Builder. When I run the program (with problem areas
commented out) I get a whole lot of warnings about about vertical orientation not
being recognised. What is that about?
GLib.List
get_columns ()