Re: [gtk-list] Determining a custom widget's member functions
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Determining a custom widget's member functions
- Date: 31 Mar 2000 14:33:38 -0500
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]