Gambas/syntax/variables/classes/virtual

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Gambas‎ | syntax‎ | variables‎ | classes
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

About

In Gambas, a virtual class is a class containing one or more abstract methods (which Gambas calls "virtual methods"), i.e. methods whose interface has been defined but whose implementation has not been. "A virtual class is an hidden pseudo-class that you cannot explicitly manipulate." [1]

Gambas virtual classes are always named beginning with a "." (e.g. ".ListViewItem") except when being invoked as the ancestor of another class (i.e. using the "inherits" keyword).