fltk::AssociationFunctor Class Reference

List of all members.


Detailed Description

Class used by the foreach() functions.

Base class for the association functor that is used in foreach(). If you want to supply your specific actions to do with the associated data found by the foreach() functions you need to derive from this class and provide a new handle function.

Public Member Functions

virtual bool handle (const AssociationType &, const Widget *, void *data)=0


Member Function Documentation

virtual bool fltk::AssociationFunctor::handle ( const AssociationType ,
const Widget ,
void *  data 
) [pure virtual]

For each found association this function is called. If the function returns true the loop is aborted and the data pointer for the current association is returned


Wed Sep 10 02:47:47 2008. FLTK ©2007 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.