brock wrote:

[...]

>> Is it possible to associate widget instances with functions?
>
> Like with boost::bind?
>
>    button b;
>    edit e;
>
>    button.set_on_pushed(boost::bind(&edit::disable_window, &e));
>
> (This is not how my library class names looks now, but how they will
> when rewritten)

Looks a lot better this way IMO.



Philippe



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to