From 87dd7f0d23eba5c09e71ec6efeb34c6844f5e95f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 29 Dec 1998 14:21:17 +0000 Subject: Revised documentation files. git-svn-id: file:///fltk/svn/fltk/trunk@177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Free.html | 87 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 documentation/Fl_Free.html (limited to 'documentation/Fl_Free.html') diff --git a/documentation/Fl_Free.html b/documentation/Fl_Free.html new file mode 100644 index 000000000..55616cb30 --- /dev/null +++ b/documentation/Fl_Free.html @@ -0,0 +1,87 @@ + + + +
+ +

class Fl_Free

+ +
+ +

Class Hierarchy

+ + + +

Include Files

+ + + +

Description

+ +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: + +

+ +

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. + +

Methods

+ + + +

Fl_Free(uchar type, int, int, int, int, const char*l, FL_HANDLEPTR hdl)

+ +The constructor takes both the type and the handle function. +The handle function should be declared as follows: + + + +This function is called from the the handle() method in +response to most events, and is called by the draw() method. +The event argument contains the event type: + + + +

virtual Fl_Free::~Fl_Free()

+ +The destructor will call the handle function with the event +FL_FREE_MEM. + + + -- cgit v1.2.3