summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/entry.h
blob: 3ed4d661e483781279c476fc12869ed1bcd2b0d8 (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
36
37
38
39
40
41
42
/** \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.
 */

#ifndef INKSCAPE_UI_WIDGET_ENTRY__H
#define INKSCAPE_UI_WIDGET_ENTRY__H

#include <gtkmm/entry.h>
#include <gtkmm/tooltips.h>
#include <gtkmm/label.h>
#include <gtkmm/box.h>

namespace Inkscape {
namespace UI {
namespace Widget {

class Entry : public Gtk::HBox
{
public:
    Entry(Glib::ustring const &label, Glib::ustring const &tooltip);
        
    // TO DO: add methods to access _entry    
        
protected:
    Gtk::Tooltips _tooltips;
    Gtk::Label    _label;
    Gtk::Entry    _entry;
};

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

#endif // INKSCAPE_UI_WIDGET_ENTRY__H