| 1 |
/* File : Fl_Free.i */ |
| 2 |
//%module Fl_Free |
| 3 |
|
| 4 |
%feature("docstring") ::Fl_Free |
| 5 |
""" |
| 6 |
Emulation of the Forms 'free' widget. This emulation allows the free demo |
| 7 |
to run, and appears to be useful for porting programs written in Forms which |
| 8 |
use the free widget or make subclasses of the Forms widgets. |
| 9 |
|
| 10 |
There are five types of free, which determine when the handle function is |
| 11 |
called: |
| 12 |
|
| 13 |
FL_NORMAL_FREE 1 |
| 14 |
FL_SLEEPING_FREE 2 |
| 15 |
FL_INPUT_FREE 3 |
| 16 |
FL_CONTINUOUS_FREE 4 |
| 17 |
FL_ALL_FREE 5 |
| 18 |
|
| 19 |
An FL_INPUT_FREE accepts FL_FOCUS events. A FL_CONTINUOUS_FREE sets a |
| 20 |
timeout callback 100 times a second and provides a FL_STEP event, this |
| 21 |
has obvious detrimental effects on machine performance. FL_ALL_FREE does |
| 22 |
both. FL_SLEEPING_FREE are deactivated. |
| 23 |
""" ; |
| 24 |
|
| 25 |
%{ |
| 26 |
#include "FL/Fl_Free.H" |
| 27 |
%} |
| 28 |
|
| 29 |
%include "macros.i" |
| 30 |
|
| 31 |
CHANGE_OWNERSHIP(Fl_Free) |
| 32 |
|
| 33 |
%include "FL/Fl_Free.H" |