| 861 | typename T |
| 862 | > |
| 863 | void set_button_down_handler ( |
| 864 | T& object, |
| 865 | void (T::*event_handler)() |
| 866 | ) |
| 867 | { |
| 868 | auto_mutex M(m); |
| 869 | button_down_handler = make_mfp(object,event_handler); |
| 870 | } |
| 871 | |
| 872 | void set_button_down_handler ( |
| 873 | const any_function<void()>& event_handler |