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 <michael@koziarski.org>
14 #ifndef GTABULARCREATE_H
15 #define GTABULARCREATE_H
21 #include "ControlTabularCreate.h"
22 #include "GnomeBase.h"
30 * This class implements the dialog to insert/modify urls.
32 class GTabularCreate : public FormCB<ControlTabularCreate> {
35 GTabularCreate(ControlTabularCreate & c);
45 /// Returns true if the dialog input is in a valid state.
46 bool validate() const;
49 void OKClicked() { OKButton(); }
50 void CancelClicked() { CancelButton(); }
51 void ApplyClicked() { ApplyButton(); }
53 /// generated by accessors.py
54 Gtk::Button * ok_btn() const;
55 /// generated by accessors.py
56 Gtk::Button * apply_btn() const;
57 /// generated by accessors.py
58 Gtk::Button * cancel_btn() const;
59 /// generated by accessors.py
60 Gtk::SpinButton * rows() const;
61 /// generated by accessors.py
62 Gtk::SpinButton * cols() const;