Re: inheritance



El 20 Feb 2002 22:43:13 -0800, rsteinke w-link net escribió:
> > From: Ramon Alberto Triay Espinosa <rtriay avantel net>
> >
> > simple question:
> > does all the 'children' widgets inherit all the functions of the
> > 'parent' widget?
> > I mean, does all functions that apply to a widget, apply to their
> > children too?
> >
> > thanx
> > rtriay
> > :)
> 
> Yep. All you need to do is cast them using the appropriate macros
> (e.g., to use the gtk_widget_foo() function, cast your descended widget
> pointer to a GtkWidget* using the macro GTK_WIDGET()).
> 
> Ron Steinke
> 


THANX RON! that's all i needed to know 
SALUDOS!!
rtriay
:)






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