Stimfit
0.13.15
|
A checkbox used to select or unselect detected events. More...
#include <stfcheckbox.h>
Public Member Functions | |
wxStfCheckBox (wxWindow *parent, wxWindowID id, const wxString &label, stf::Event *pEvent, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxCheckBoxNameStr) | |
Constructor. | |
void | ResetEvent (stf::Event *pEvent) |
Resets the pointer to the attached event. |
A checkbox used to select or unselect detected events.
Toggles the stf::Event status, and forwards keyboard input to the graph.
Definition at line 30 of file stfcheckbox.h.
wxStfCheckBox::wxStfCheckBox | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxString & | label, | ||
stf::Event * | pEvent, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = 0 , |
||
const wxValidator & | validator = wxDefaultValidator , |
||
const wxString & | name = wxCheckBoxNameStr |
||
) |
Constructor.
parent | Pointer to the parent window. |
id | Window id. |
label | The checkbox label. |
pEvent | The event attached to this checkbox. |
pos | Initial checkbox position. |
size | Initial checkbox size. |
style | Checkbox style. |
validator | Checkbox validator. |
name | Name of this grid. |
void wxStfCheckBox::ResetEvent | ( | stf::Event * | pEvent | ) | [inline] |
Resets the pointer to the attached event.
pEvent | The pointer to the new event |
Definition at line 59 of file stfcheckbox.h.
References stf::Event::GetDiscard().