How to obtain type of a widget?



Hello,

I'd like to go through a number of widgets (children of a container widget) and to perform certain actions depending on the type of the widget. Like:

switch (widget_type) {
        case GTK_ENTRY : ...
        case GTK_COMBO_BOX ...
}

I'm sure it is possible but I don't know how.

Suggestions?

--Daniel

--
dunno stoptrick com



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