|
KiCad PCB EDA Suite
|
The information needed to instantiate a button on a BUTTON_ROW_PANEL. More...
#include <button_row_panel.h>
Public Attributes | |
| wxWindowID | m_id |
| The button ID. | |
| wxString | m_text |
| The button display text. | |
| wxString | m_tooltip |
| Button tooltip text - empty string for no tooltip. | |
| BTN_CALLBACK | m_callback |
| The callback fired when the button is clicked. | |
The information needed to instantiate a button on a BUTTON_ROW_PANEL.
Definition at line 52 of file button_row_panel.h.
| BTN_CALLBACK BUTTON_ROW_PANEL::BTN_DEF::m_callback |
The callback fired when the button is clicked.
Can be nullptr, but then the button is useless.
Definition at line 74 of file button_row_panel.h.
| wxWindowID BUTTON_ROW_PANEL::BTN_DEF::m_id |
The button ID.
Can be wxID_ANY, but should be unique if you want to work out which button this was from an event handler.
Definition at line 58 of file button_row_panel.h.
| wxString BUTTON_ROW_PANEL::BTN_DEF::m_text |
The button display text.
Definition at line 63 of file button_row_panel.h.
| wxString BUTTON_ROW_PANEL::BTN_DEF::m_tooltip |
Button tooltip text - empty string for no tooltip.
Definition at line 68 of file button_row_panel.h.