wxMaxima
|
A user notification the operating system claims to be non-disturbing. More...
#include <Notification.h>
Public Member Functions | |
Notification () | |
A constructor that doesn't take any arguments. | |
Notification (const wxString &title, const wxString &message={}, wxWindow *parent=NULL, int flags=wxICON_INFORMATION) | |
A constructor that completely prepares the notification, but doesn't call Show() yet. | |
virtual | ~Notification () |
A destructor that also closes the notification. | |
void | SetParent (wxWindow *parent) |
Informs the notification which the main window is it notified for. | |
wxWindow * | GetParent () |
Returns a pointer to the main window or NULL, if no main window is set. | |
Data Fields | |
GroupCell * | m_errorNotificationCell = NULL |
The cell we signal an error for. | |
Protected Member Functions | |
void | OnClick (wxCommandEvent &event) |
Called on clicking at the notification, if the OS supports that. | |
A user notification the operating system claims to be non-disturbing.
We use this notification sparingly, which means: Only if the wxMaxima window has lost focus between the user action that caused maxima to run a command and the moment the command has finished or has caused an error.