How to obtain type of a widget?
- From: "Daniel Haude" <dunno stoptrick com>
- To: gtk-app-devel-list gnome org
- Subject: How to obtain type of a widget?
- Date: Mon, 29 May 2006 13:44:20 +0200
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]