wex v24.10.0
Public Member Functions | List of all members
wex::bind Class Reference

Offers a class to bind events to a handler. More...

#include <wex/factory/bind.h>

Public Member Functions

 bind (wxEvtHandler *evt)
 Constructor.
 
void command (const std::vector< std::pair< std::function< void(wxCommandEvent &)>, int > > &)
 Binds command events to handler.
 
void command (const std::vector< std::tuple< std::function< void(wxCommandEvent &)>, int, int > > &)
 Binds a range of command events to handler.
 
void frd (wxFindReplaceData *frd, const std::function< void(const std::string &, bool)> &f)
 Binds find replace data to handler.
 
void ui (const std::vector< std::pair< std::function< void(wxUpdateUIEvent &)>, int > > &)
 Binds update events to handler.
 

Detailed Description

Offers a class to bind events to a handler.