#include <marshal.h>
Public Types | |
typedef bool | InType |
return type expected from the callback | |
typedef bool | OutType |
return type passed to the signal | |
Public Member Functions | |
OutType | value () |
value returned to the calling signal | |
bool | marshal (const InType &val) |
handle the return value of a callback | |
Static Public Member Functions | |
bool | default_value () |
the default value to return if no callback is called |
This is a custom marshaller for signals which return bool used by wftk. It halts signal emmision if a callback returns 'true'. The signal returns 'true' if any of the callbacks did.
It is used in cases where we won't care where the signal comes from, we just want to know if it fires for any case (e.g. mouse entering our application window)
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.