]> git.lyx.org Git - features.git/blob - src/frontends/gtk/GText.h
Replace LString.h with support/std_string.h,
[features.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 #include "support/std_string.h"
17
18 class ControlCommand;
19
20 class GText : public GViewCB<ControlCommand, GViewGladeB>
21 {
22 public:
23         GText(Dialog & parent, string const & title, string const & label);
24 private:
25         virtual void apply();
26         virtual void update();
27         virtual void doBuild();
28         void onEntryChanged();
29         string const label_;
30         Gtk::Entry * entry_;
31 };
32
33 #endif