![]() [UP] Wd_types
|
WDialog API for Objective Caml: Wd_types.session_type
Class type Wd_types.session_typeclass type session_type =
This is a single session
method dialog_name :
Returns the name of the dialog this session encapsulates
method dialog :
Returns the dialog
method commit_changes :
Causes that
serialize returns the current state of the dialog.
This means that commit_changes extracts the state from the dialog,
and prepares the string that will be returned by serialize .method serialize :
Returns the state of the dialog at the time of the last
commit_change
or the state of the initial dialogmethod change_dialog :
Continue with a new dialog. The methods
dialog_name and dialog will
immediately reflect the change. However, you have to call commit_changes
to make serialize return the state of the new dialog. |