FLTK logo

Article #167: Fl_Signal 0.1

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

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 ]


Comments

Submit Comment ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.