To allow a special handling for the saving of the widgets, the procedure ``XFSaveWidget.<WidgetClass>'' can be defined. This procedure gets a file descriptor, and the name of the widget to be saved. This procedure has the responsibility to completely write the code that creates the widget.