fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

Callback function typedefs

Typedefs defined in <FL/Fl.H> for callback or handler functions passed as function parameters. More...

Typedefs

typedef void( Fl_Label_Draw_F )(const Fl_Label *label, int x, int y, int w, int h, Fl_Align align)
typedef void( Fl_Label_Measure_F )(const Fl_Label *label, int &width, int &height)
typedef void( Fl_Box_Draw_F )(int x, int y, int w, int h, Fl_Color color)
typedef void(* Fl_Timeout_Handler )(void *data)
typedef void(* Fl_Awake_Handler )(void *data)
typedef void(* Fl_Idle_Handler )(void *data)
typedef void(* Fl_Old_Idle_Handler )()
typedef void(* Fl_FD_Handler )(int fd, void *data)
typedef int(* Fl_Event_Handler )(int event)
typedef void(* Fl_Abort_Handler )(const char *format,...)
typedef void(* Fl_Atclose_Handler )(Fl_Window *window, void *data)
typedef int(* Fl_Args_Handler )(int argc, char **argv, int &i)

Detailed Description

Typedefs defined in <FL/Fl.H> for callback or handler functions passed as function parameters.

FLTK uses callback functions as parameters for some function calls, e.g. to set up global event handlers (Fl::add_handler()), to add a timeout handler (Fl::add_timeout()), and many more.

The typedefs defined in this group describe the function parameters used to set up or clear the callback functions and should also be referenced to define the callback function to handle such events in the user's code.

See also:
Fl::add_handler(), Fl::add_timeout(), Fl::repeat_timeout(), Fl::remove_timeout() and others

Typedef Documentation

typedef void(* Fl_Abort_Handler)(const char *format,...)

signature of set_abort functions passed as parameters

Definition at line 99 of file Fl.H.

typedef int(* Fl_Args_Handler)(int argc, char **argv, int &i)

signature of args functions passed as parameters

Definition at line 105 of file Fl.H.

typedef void(* Fl_Atclose_Handler)(Fl_Window *window, void *data)

signature of set_atclose functions passed as parameters

Definition at line 102 of file Fl.H.

typedef void(* Fl_Awake_Handler)(void *data)

signature of some wakeup callback functions passed as parameters

Definition at line 84 of file Fl.H.

typedef void( Fl_Box_Draw_F)(int x, int y, int w, int h, Fl_Color color)

signature of some box drawing functions passed as parameters

Definition at line 78 of file Fl.H.

typedef int(* Fl_Event_Handler)(int event)

signature of add_handler functions passed as parameters

Definition at line 96 of file Fl.H.

typedef void(* Fl_FD_Handler)(int fd, void *data)

signature of add_fd functions passed as parameters

Definition at line 93 of file Fl.H.

typedef void(* Fl_Idle_Handler)(void *data)

signature of add_idle callback functions passed as parameters

Definition at line 87 of file Fl.H.

typedef void( Fl_Label_Draw_F)(const Fl_Label *label, int x, int y, int w, int h, Fl_Align align)

signature of some label drawing functions passed as parameters

Definition at line 72 of file Fl.H.

typedef void( Fl_Label_Measure_F)(const Fl_Label *label, int &width, int &height)

signature of some label measurement functions passed as parameters

Definition at line 75 of file Fl.H.

typedef void(* Fl_Old_Idle_Handler)()

signature of set_idle callback functions passed as parameters

Definition at line 90 of file Fl.H.

typedef void(* Fl_Timeout_Handler)(void *data)

signature of some timeout callback functions passed as parameters

Definition at line 81 of file Fl.H.