2 /* This file is part of
3 * =================================================
5 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich.
7 * Copyright 1995-2000 The LyX Team.
9 * =================================================
11 * \author Michael Koziarski
22 #include "ControlError.h"
23 #include "GnomeBase.h"
33 * This class implements the dialog to show error messages.
35 class GError : public FormCB<ControlError> {
38 GError(ControlError & c);
50 /// Returns true if the dialog input is in a valid state.
51 bool validate() const { return true; }
54 void CloseClicked() { CancelButton(); }
56 /// generated by accessors.py
57 Gtk::Button * button_close() const;
58 /// generated by accessors.py
59 Gtk::Text * textarea() const;