Re: [Vala] Overriding Gtk.Container.forall (...)



Sam Liddicott wrote:
Perhaps the virtual one would also have to be abstract?

'abstract' would mean I am forced to override and implement the method
when subclassing because there was no implementation, but Gtk.Container
is not an abstract class and already has a default implementation for
'forall'.

I wonder if you are using the term "virtual method" when you mean "class method" ?

With 'virtual method' I mean a method that may be overridden in my
subclass. 'class methods' I refer to as 'static methods'.

Regards,

Frederik



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