]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GText.h
Change glob() API to accept a dir parameter.
[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 namespace lyx {
18 namespace frontend {
19
20 class ControlCommand;
21
22 class GText : public GViewCB<ControlCommand, GViewGladeB> {
23 public:
24         GText(Dialog & parent, std::string const & title, std::string const & label);
25 private:
26         virtual void apply();
27         virtual void update();
28         virtual void doBuild();
29         void onEntryChanged();
30         std::string const label_;
31         Gtk::Entry * entry_;
32 };
33
34 } // namespace frontend
35 } // namespace lyx
36
37 #endif