summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/entry.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2006-11-29 02:16:02 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2006-11-29 02:16:02 +0000
commit386d7cacf96076aecad1ccafe168e57e7d9cdadd (patch)
treebd5d031524b3ead9f37c52349a4913972864cd42 /src/ui/widget/entry.h
parentmake the architecture settable (diff)
downloadinkscape-386d7cacf96076aecad1ccafe168e57e7d9cdadd.tar.gz
inkscape-386d7cacf96076aecad1ccafe168e57e7d9cdadd.zip
New widget helperclass for Gtk:Entry
(bzr r2051)
Diffstat (limited to 'src/ui/widget/entry.h')
-rw-r--r--src/ui/widget/entry.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/ui/widget/entry.h b/src/ui/widget/entry.h
new file mode 100644
index 000000000..3ed4d661e
--- /dev/null
+++ b/src/ui/widget/entry.h
@@ -0,0 +1,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