NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
This class generalizes a set of basic floating window functionalities like being closable by pressing ESC or to get the keyboard focus automatically. More...
#include <viewerframe.hpp>
Public Member Functions | |
ViewerFrame (wxWindow *parent, const wxString &title) | |
void | OnKeyDown (wxKeyEvent &event) |
This event handler closes the frame, if the user presses ESC. More... | |
void | OnFocus (wxFocusEvent &event) |
This event handler passes the keyboard focus down to the first child in the window list, if the frame gets keyboard focus. More... | |
void | OnEnter (wxMouseEvent &event) |
This event handler get the keyboard focus, if the user enters with the mouse. More... | |
void | OnClose (wxCloseEvent &event) |
This event handler informs all child windows that this frame will now close. It furthermore automatically unregisters itself in the opened window list. More... | |
DECLARE_EVENT_TABLE () | |
This class generalizes a set of basic floating window functionalities like being closable by pressing ESC or to get the keyboard focus automatically.
Definition at line 30 of file viewerframe.hpp.
|
inline |
Definition at line 33 of file viewerframe.hpp.
ViewerFrame::DECLARE_EVENT_TABLE | ( | ) |
void ViewerFrame::OnClose | ( | wxCloseEvent & | event | ) |
This event handler informs all child windows that this frame will now close. It furthermore automatically unregisters itself in the opened window list.
event | wxCloseEvent& |
Definition at line 93 of file viewerframe.cpp.
void ViewerFrame::OnEnter | ( | wxMouseEvent & | event | ) |
This event handler get the keyboard focus, if the user enters with the mouse.
event | wxMouseEvent& |
Definition at line 73 of file viewerframe.cpp.
void ViewerFrame::OnFocus | ( | wxFocusEvent & | event | ) |
This event handler passes the keyboard focus down to the first child in the window list, if the frame gets keyboard focus.
event | wxFocusEvent& |
Definition at line 56 of file viewerframe.cpp.
void ViewerFrame::OnKeyDown | ( | wxKeyEvent & | event | ) |
This event handler closes the frame, if the user presses ESC.
event | wxKeyEvent& |
Definition at line 38 of file viewerframe.cpp.