Public symbols from the ToscaWidgets distribution should be imported from tw.api.

All ToscaWidgets widget eggs, such as tw.forms, etc. graft their namespaces in the tw namespace [1]. For example, to import form widgtes from tw.forms on would do:

from tw.forms import TextField, PasswordField

Previous topic

Require once - Guarding Javascript against multiple inclusion

Next topic

tw.api

This Page

Quick search