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

Offers accelerators for a window. More...

#include <wex/del/accelerators.h>

Public Member Functions

 accelerators (const std::vector< wxAcceleratorEntry > &v, bool debug=false)
 Constructor.
 
 ~accelerators ()
 Destructor, deletes the entries.
 
void set (wxWindow *parent)
 Sets the accelerator entries for the specified window.
 
auto size () const
 Returns number of accelerators.
 

Detailed Description

Offers accelerators for a window.

Constructor & Destructor Documentation

◆ accelerators()

wex::accelerators::accelerators ( const std::vector< wxAcceleratorEntry > & v,
bool debug = false )

Constructor.

Parameters
vvector with accelerator entries
debugadd debug menu accelerators