Re: [gtk-list] Determining a custom widget's member functions




Derek Simkowiak <dereks@kd-dev.com> writes: 
> 	Is it simply that functions which a sub-class would want to
> inherit (or override) should be member functions?
> 

Yes. In C++ terms, all the functions are member functions; the
functions in the class struct are virtual member functions.
So you put things in the class struct when you would declare them
"virtual" in C++.

Havoc



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