3ed4d661e483781279c476fc12869ed1bcd2b0d8
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 \r
21 namespace Inkscape {\r
22 namespace UI {\r
23 namespace Widget {\r
24 \r
25 class Entry : public Gtk::HBox\r
26 {\r
27 public:\r
28 Entry(Glib::ustring const &label, Glib::ustring const &tooltip);\r
29 \r
30 // TO DO: add methods to access _entry \r
31 \r
32 protected:\r
33 Gtk::Tooltips _tooltips;\r
34 Gtk::Label _label;\r
35 Gtk::Entry _entry;\r
36 };\r
37 \r
38 } // namespace Widget\r
39 } // namespace UI\r
40 } // namespace Inkscape\r
41 \r
42 #endif // INKSCAPE_UI_WIDGET_ENTRY__H\r