c - Multidimensional array of gtkwidgets -
is possible create multidimensional array of gtkwidgets? this:
mywidgetlist[2]["title"];
or should doing in different way? how this?
basically have number of "widgets" (loaded gtkbuilder) composed of smaller widgets , want able change values, array setup seems preferable.
is there way of doing (other coding complete widget using signals etc , placing them in simple array?)
in c, cannot use string index array. or, strictly speaking can, it's never want do.
for c solution using glib (handy if use gtk+), consider single-dimensional array of ghashtable
pointers.
Comments
Post a Comment