How to write a widget

Revision: $Id$


This document describes how to write a new widget in a python class. Simple examples of existing widgets can be found in

1   Overview

A widget is a component describing how to render one (or several) fields. Rendering can be done in several modes, usually in 'view' and 'edit'.

There are two important concepts regarding the data associated with a widget: the data-model and the data-structure.

2   Methods

3   Gotchas

Warning: The two following points are not up to date. (AT)