From 386d7cacf96076aecad1ccafe168e57e7d9cdadd Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 29 Nov 2006 02:16:02 +0000 Subject: New widget helperclass for Gtk:Entry (bzr r2051) --- src/ui/widget/entry.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/ui/widget/entry.h (limited to 'src/ui/widget/entry.h') 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 + * + * 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 +#include +#include +#include + +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 -- cgit v1.2.3