parent_class



Hi,

most widgets define such a var in the *.c file:

static GtkWidgetClass *parent_class = NULL;

and some (togglebutton) do not. Why?

The _Gtk*Class struct contains a parent_class var and ofter there is the
static var in the *.c files. Why are there two parent vars?

-- http://www.ping.de/sites/aibon/



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