summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/handlebox.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-01-16 02:36:01 +0000
committermental <mental@users.sourceforge.net>2006-01-16 02:36:01 +0000
commit179fa413b047bede6e32109e2ce82437c5fb8d34 (patch)
treea5a6ac2c1708bd02288fbd8edb2ff500ff2e0916 /src/ui/widget/handlebox.h
downloadinkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.tar.gz
inkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.zip
moving trunk for module inkscape
(bzr r1)
Diffstat (limited to 'src/ui/widget/handlebox.h')
-rw-r--r--src/ui/widget/handlebox.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/ui/widget/handlebox.h b/src/ui/widget/handlebox.h
new file mode 100644
index 000000000..41a993e9d
--- /dev/null
+++ b/src/ui/widget/handlebox.h
@@ -0,0 +1,50 @@
+/**
+ * \brief HandleBox Widget - Adds a detachment handle to another widget.
+ *
+ * This work really doesn't amount to much more than a convenience constructor
+ * for Gtk::HandleBox. Maybe this could be contributed back to Gtkmm, as
+ * Gtkmm provides several convenience constructors for other widgets as well.
+ *
+ * Author:
+ * Derek P. Moore <derekm@hackunix.org>
+ *
+ * Copyright (C) 2004 Derek P. Moore
+ *
+ * Released under GNU GPL. Read the file 'COPYING' for more information.
+ */
+
+#ifndef INKSCAPE_UI_WIDGET_HANDLEBOX_H
+#define INKSCAPE_UI_WIDGET_HANDLEBOX_H
+
+#include <gtkmm/handlebox.h>
+
+namespace Inkscape {
+namespace UI {
+namespace Widget {
+
+class HandleBox : public Gtk::HandleBox
+{
+public:
+ HandleBox(Gtk::Widget *widget,
+ Gtk::PositionType position = Gtk::POS_LEFT);
+
+protected:
+ Gtk::Widget *_widget;
+};
+
+} // namespace Widget
+} // namespace UI
+} // namespace Inkscape
+
+#endif // INKSCAPE_UI_WIDGET_HANDLEBOX_H
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :