![]() |
wxMaxima
|
#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. | |
~Notification () override | |
A destructor that also closes the notification. | |
void | SetGroup (wxWindow *parent) |
Informs the notification which the main window is it notified for. | |
wxWindow * | GetGroup () |
Returns a pointer to the main window or NULL, if no main window is set. | |
Public Attributes | |
GroupCell * | m_errorNotificationCell |
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.