summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/entry.cpp
blob: 73a5edac162cf3c30d416c743cbbc389cc53fe84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/** \file
 *
 * \brief Helperclass for Gtk::Entry widgets
 *
 * Authors:
 *   Johan Engelen <goejendaagh@zonnet.nl>
 *
 * Copyright (C) 2006 Authors
 *
 * Released under GNU GPL.  Read the file 'COPYING' for more information
 */

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#include "entry.h"

namespace Inkscape {
namespace UI {
namespace Widget {

Entry::Entry(Glib::ustring const &label, Glib::ustring const &tooltip)
    : _label(label, true), _entry(), _tooltips()
{
    pack_start(_label);
    pack_start(_entry);
    
    _tooltips.set_tip(*this, tooltip);
}

} // namespace Widget
} // namespace UI
} // namespace Inkscape