File: Fl_Free.i

package info (click to toggle)
pyfltk 1.4.4.0%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,556 kB
  • sloc: python: 7,769; cpp: 356; makefile: 24
file content (33 lines) | stat: -rwxr-xr-x 867 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* File : Fl_Free.i */
//%module Fl_Free

%feature("docstring") ::Fl_Free
"""
Emulation of the Forms 'free' widget. This emulation allows the free demo 
to run, and appears to be useful for porting programs written in Forms which 
use the free widget or make subclasses of the Forms widgets.

There are five types of free, which determine when the handle function is 
called:

      FL_NORMAL_FREE		1
      FL_SLEEPING_FREE		2
      FL_INPUT_FREE		3
      FL_CONTINUOUS_FREE	4
      FL_ALL_FREE		5

An FL_INPUT_FREE accepts FL_FOCUS events. A FL_CONTINUOUS_FREE sets a 
timeout callback 100 times a second and provides a FL_STEP event, this 
has obvious detrimental effects on machine performance. FL_ALL_FREE does 
both. FL_SLEEPING_FREE are deactivated. 
""" ;

%{
#include "FL/Fl_Free.H"
%}

%include "macros.i"

CHANGE_OWNERSHIP(Fl_Free)

%include "FL/Fl_Free.H"