Naming / Labelling Widgets



Hi,

Is there a way to name / label and identify a widget? I'm pretty new to Gtk programming and right now, once I've created my GtkWidget hierarchy, there seems to be very little light support to traversing it. For certain, each widget has a generic method for getting its parent and children, but some widgets support non-linear placement (like tables). Yet there seems to be no method to accessing specialized container contents.

The generic serialized method for accessing children is okay, I suppose, but it's made a bit difficult for me by the fact that I can't seem to label widgets (much more read back those labels). Do functions exists that would help me with what I'm doing? Or should I just hardcode a widget's numeric index and update that index if the widget structure should change?

Thanks.
--

Richi Plana

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