| OpenCPN Partial API docs
    | 
On/Off switch button. More...
#include <button_switch.h>
 
  
| Public Member Functions | |
| SwitchButton (wxWindow *parent, int key, bool value=true) | |
| Toggle key on/off. | |
| int | GetKey () | 
| bool | IsActive () | 
On/Off switch button.
Definition at line 30 of file button_switch.h.
| SwitchButton::SwitchButton | ( | wxWindow * | parent, | 
| int | key, | ||
| bool | value = true | ||
| ) | 
Toggle key on/off.
| parent | Parent window. | 
| key | Key identifier. | 
| value | Initial state. |