Code

text markup; use gradient preview for gradient fills or strokes
[inkscape.git] / src / ui / widget / entry.h
1 /** \file \r
2  *\r
3  * \brief Helperclass for Gtk::Entry widgets\r
4  *\r
5  * Authors:\r
6  *   Johan Engelen <goejendaagh@zonnet.nl>\r
7  *\r
8  * Copyright (C) 2006 Authors\r
9  *\r
10  * Released under GNU GPL.  Read the file 'COPYING' for more information.\r
11  */\r
12 \r
13 #ifndef INKSCAPE_UI_WIDGET_ENTRY__H\r
14 #define INKSCAPE_UI_WIDGET_ENTRY__H\r
15 \r
16 #include <gtkmm/entry.h>\r
17 #include <gtkmm/tooltips.h>\r
18 #include <gtkmm/label.h>\r
19 #include <gtkmm/box.h>\r
20 #include "labelled.h"\r
21 \r
22 namespace Inkscape {\r
23 namespace UI {\r
24 namespace Widget {\r
25 \r
26 class Entry : public Labelled\r
27 {\r
28 public:\r
29     Entry( Glib::ustring const &label,\r
30            Glib::ustring const &tooltip,\r
31            Glib::ustring const &suffix = "",\r
32            Glib::ustring const &icon = "",\r
33            bool mnemonic = true);\r
34 \r
35     // TO DO: add methods to access Gtk::Entry widget\r
36     \r
37     Gtk::Entry*  getEntry() {return (Gtk::Entry*)(_widget);};    \r
38 };\r
39 \r
40 } // namespace Widget\r
41 } // namespace UI\r
42 } // namespace Inkscape\r
43 \r
44 #endif // INKSCAPE_UI_WIDGET_ENTRY__H\r