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