containers (table) question



Hi all!

First of all I would like to greet everybody on the list, as this is my
first post here. From my background: I am learning gtk+ just now, I used
mostly tk for GUI apps on linux so far. Oh, and I use gtk+ with ruby. If
somebody do not know it: http://www.ruby-lang.org. It is worth to give
it a look if you are looking for a cool scripting language. :)

So, my current problem is as follows: I would like to display a table,
where the columns are not homogenous, so the treeview is a bit clumsy to
use (although, it would be possible, I think). So, I chose to implement
it with the table container. But, I need to remove and insert rows (or
rebuild the whole table) dynamically upon events.

My problem is that I cannot remove, say, the last row of the table
unless I store somewhere (separate of the gtk_table) what widgets are in
that row. Is there a way to enumerate all the widgets in a table, with
the information of the position in the table? There is a GtkTableChild
struct in the documentation, but it seems that it is a private type as
there are no functions which return with such type. :-(

Thanks:
Fery




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]