19 return _buttons.size();
27 return _buttons[i]->_raw;
36 return _buttons[i]->_mapped;
45 return _buttons[i]->_label;
55 pmap<int, ButtonNode>::const_iterator it;
57 if (it == _button_map.end()) {
58 return ButtonHandle::none();
60 return it->second._mapped;
72 if (raw_button == ButtonHandle::none()) {
73 return ButtonHandle::none();
89 pmap<int, ButtonNode>::const_iterator it;
91 if (it == _button_map.end()) {
92 static const std::string empty =
"";
95 return it->second._label;
110 if (raw_button == ButtonHandle::none()) {
111 static const std::string empty =
"";