Ardour  9.0-pre0-582-g084a23a80d
Gtkmm2ext::KeyboardKey Class Reference

#include <bindings.h>

Public Member Functions

 KeyboardKey ()
 
 KeyboardKey (uint32_t state, uint32_t keycode)
 
uint32_t state () const
 
uint32_t key () const
 
bool operator< (const KeyboardKey &other) const
 
bool operator== (const KeyboardKey &other) const
 
std::string name () const
 
std::string native_name () const
 
std::string native_short_name () const
 
std::string display_label () const
 

Static Public Member Functions

static KeyboardKey null_key ()
 
static bool make_key (const std::string &, KeyboardKey &)
 

Private Attributes

uint64_t _val
 

Detailed Description

Definition at line 43 of file bindings.h.

Constructor & Destructor Documentation

◆ KeyboardKey() [1/2]

Gtkmm2ext::KeyboardKey::KeyboardKey ( )
inline

Definition at line 46 of file bindings.h.

◆ KeyboardKey() [2/2]

Gtkmm2ext::KeyboardKey::KeyboardKey ( uint32_t  state,
uint32_t  keycode 
)

Member Function Documentation

◆ display_label()

std::string Gtkmm2ext::KeyboardKey::display_label ( ) const

◆ key()

uint32_t Gtkmm2ext::KeyboardKey::key ( ) const
inline

Definition at line 55 of file bindings.h.

◆ make_key()

static bool Gtkmm2ext::KeyboardKey::make_key ( const std::string &  ,
KeyboardKey  
)
static

◆ name()

std::string Gtkmm2ext::KeyboardKey::name ( ) const

◆ native_name()

std::string Gtkmm2ext::KeyboardKey::native_name ( ) const

◆ native_short_name()

std::string Gtkmm2ext::KeyboardKey::native_short_name ( ) const

◆ null_key()

static KeyboardKey Gtkmm2ext::KeyboardKey::null_key ( )
inlinestatic

Definition at line 52 of file bindings.h.

◆ operator<()

bool Gtkmm2ext::KeyboardKey::operator< ( const KeyboardKey other) const
inline

Definition at line 57 of file bindings.h.

◆ operator==()

bool Gtkmm2ext::KeyboardKey::operator== ( const KeyboardKey other) const
inline

Definition at line 61 of file bindings.h.

◆ state()

uint32_t Gtkmm2ext::KeyboardKey::state ( void  ) const
inline

Definition at line 54 of file bindings.h.

Member Data Documentation

◆ _val

uint64_t Gtkmm2ext::KeyboardKey::_val
private

Definition at line 73 of file bindings.h.


The documentation for this class was generated from the following file: