tw :: core :: meta :: WidgetType :: Class WidgetType
[hide private]

Type WidgetType

object --+    
         |    
      type --+
             |
            WidgetType

Instance Methods [hide private]

Inherited from type: __call__, __cmp__, __delattr__, __getattribute__, __hash__, __repr__, __setattr__, __subclasses__, mro

Inherited from object: __init__, __reduce__, __reduce_ex__, __str__

Class Methods [hide private]
 
iter_classes(meta)
Iterates over all the Widget subclasses in the modules that are declared as `toscawidgets.widgets` entrypoints
Static Methods [hide private]
a new object with type S, a subtype of T
__new__(meta, name, bases, dct)
Properties [hide private]

Inherited from type: __base__, __bases__, __basicsize__, __dictoffset__, __flags__, __itemsize__, __mro__, __name__, __weakrefoffset__

Inherited from object: __class__

Method Details [hide private]

__new__(meta, name, bases, dct)
Static Method

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)

iter_classes(meta)
Class Method

 

Iterates over all the Widget subclasses in the modules that are declared as `toscawidgets.widgets` entrypoints

>>> from tw.api import Widget
>>> len(list(Widget.iter_classes())) > 0
True