#include <gcu/dialog.h>
Public Member Functions | |
Dialog (Application *App, const char *filename, const char *windowname, void(*extra_destroy)(gpointer)=NULL, gpointer data=NULL) | |
virtual void | Destroy () |
virtual bool | Apply () |
void | Help () |
GtkWindow * | GetWindow () |
Protected Member Functions | |
bool | GetNumber (GtkEntry *Entry, double *x, CheckType c=NoCheck, double min=0, double max=0) |
Definition at line 70 of file dialog.h.
|
|
|
Called after a click on the OK or Apply buttons. After clicking the OK button and if the method returns true, Destroy will be called to close the dialog box. A derived class should implement this method, as the default just returns true.
|
|
Called when closing the dialog box after a click on the OK or Cancel buttons. If a child class implements this method, it should call Dialog::Destroy after performing its task or it must destroy the window. The defaut implementation calls extra_destroy and gtk_widget_destroy. |
|
|
|
/return the top level window of the dialog box. |
|
Displays the help corresponding to the dialog. This function is called when a click occurs on the Help button. It calls Application::OnHelp (windowname); |