| [ Return to Articles | Show Comments | Submit Comment ]
Article #167: Fl_Signal 0.1
Created at 11:30 May 22, 2003 by rokan
New callback and signal/slot library for FLTK
Features:
- Type-safety of callbacks (signals, slots)
- Both functions and class member methods with any number parameters can be used (0-5 are implemented)
- Multiple callbacks can be attached to a widget or a node
- Callbacks can be dynamically attached to / removed from a widget or a node
- Each argument of callback function can be determined either by a value (parameter/value binding), pointer to a variable or as a return value of a sub-call
- Return values can be either stored in a variable (defined by a pointer), pushed to a sub-call, sent to a node or used by attached slots as an argument
- Special callback classes - Signals and Slots can emit/accept values of any type and propagate the callback event
- It is an add-on library, you can use both standard fltk callbacks and this library in your program
[ Download | Home Page | Listing ]
[ Submit Comment ] |
| |