Code

73a5edac162cf3c30d416c743cbbc389cc53fe84
[inkscape.git] / src / ui / widget / entry.cpp
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 #ifdef HAVE_CONFIG_H\r
14 # include <config.h>\r
15 #endif\r
16 \r
17 #include "entry.h"\r
18 \r
19 namespace Inkscape {\r
20 namespace UI {\r
21 namespace Widget {\r
22 \r
23 Entry::Entry(Glib::ustring const &label, Glib::ustring const &tooltip)\r
24     : _label(label, true), _entry(), _tooltips()\r
25 {\r
26     pack_start(_label);\r
27     pack_start(_entry);\r
28     \r
29     _tooltips.set_tip(*this, tooltip);\r
30 }\r
31 \r
32 } // namespace Widget\r
33 } // namespace UI\r
34 } // namespace Inkscape\r
35 \r