search for: fxmapfuncs

Displaying 1 result from an estimated 1 matches for "fxmapfuncs".

Did you mean: fxmapfunc
2005 Apr 05
0
Connecting messages to methods
...irect all SEL_COMMAND events to Window::onCommand. As an example, if one clicks the button, the message (SEL_COMMAND, ID_BTN) is sent to the Window class but is not handled there (Window::onCommand is never called). When using FXMAPFUNC(SEL_COMMAND, ID_BTN, "onCommand") or (better) FXMAPFUNCS(SEL_COMMAND, ID_SELF, ID_BTN, "onCommand") this should work but I neither want to use this C-macro style nor do I want to add .connect(SEL_COMMAND, method(:onCommand)) to each widget I append to Window (this is one of the reasons why I''m not using GTK+). Is there a way? Did...