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 FORMTABULARCREATE_H
15 #define FORMTABULARCREATE_H
21 #include "ControlTabularCreate.h"
22 #include "GnomeBase.h"
29 * This class implements the dialog to insert/modify urls.
31 class FormTabularCreate : public FormCB<ControlTabularCreate> {
34 FormTabularCreate(ControlTabularCreate & c);
44 /// Returns true if the dialog input is in a valid state.
45 bool validate() const;
48 void OKClicked() { OKButton(); }
49 void CancelClicked() { CancelButton(); }
50 void ApplyClicked() { ApplyButton(); }
52 /// generated by accessors.py
53 Gtk::Button * ok_btn() const;
54 /// generated by accessors.py
55 Gtk::Button * apply_btn() const;
56 /// generated by accessors.py
57 Gtk::Button * cancel_btn() const;
58 /// generated by accessors.py
59 Gtk::SpinButton * rows() const;
60 /// generated by accessors.py
61 Gtk::SpinButton * cols() const;