Base class of Gadget Types (kind of metaclass). More...
Inherited by guit::GadgetType__.
Public Member Functions | |
| virtual Gadget & | newInstance (GString const &arg="")=0 |
| Instantiates a gadget of this type (redefined in subclasses). | |
| void | operator delete (void *) |
| The delete operator does nothing and should not be used. | |
| GString const & | name () const |
| Return the name id, style of the type (depends of subclass). | |
Static Public Member Functions | |
| static Gadget * | createInstance (GString const &type_name, GString const &arg) |
| Instantiates a gadget according to the specified type name. More... | |
| static GadgetType * | findType (GString const &type_name) |
| Returns the type corresponding to this name if it exists, null otherwise. | |
Base class of Gadget Types (kind of metaclass).
|
static |
Instantiates a gadget according to the specified type name.
1.8.4