]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GText.h
Joao latest bits
[lyx.git] / src / frontends / gtk / GText.h
1 // -*- C++ -*-
2 /**
3  * \file GText.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Huang Ying
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GTEXT_H
13 #define GTEXT_H
14
15 #include "GViewBase.h"
16
17 class ControlCommand;
18
19 class GText : public GViewCB<ControlCommand, GViewGladeB>
20 {
21 public:
22         GText(Dialog & parent, std::string const & title, std::string const & label);
23 private:
24         virtual void apply();
25         virtual void update();
26         virtual void doBuild();
27         void onEntryChanged();
28         std::string const label_;
29         Gtk::Entry * entry_;
30 };
31
32 #endif