Code

New widget helperclass for Gtk:Entry
[inkscape.git] / src / ui / widget / handlebox.h
1 /**
2  * \brief HandleBox Widget - Adds a detachment handle to another widget.
3  *
4  * This work really doesn't amount to much more than a convenience constructor
5  * for Gtk::HandleBox.  Maybe this could be contributed back to Gtkmm, as
6  * Gtkmm provides several convenience constructors for other widgets as well.
7  *
8  * Author:
9  *   Derek P. Moore <derekm@hackunix.org>
10  *
11  * Copyright (C) 2004 Derek P. Moore
12  *
13  * Released under GNU GPL.  Read the file 'COPYING' for more information.
14  */
16 #ifndef INKSCAPE_UI_WIDGET_HANDLEBOX_H
17 #define INKSCAPE_UI_WIDGET_HANDLEBOX_H
19 #include <gtkmm/handlebox.h>
21 namespace Inkscape {
22 namespace UI {
23 namespace Widget {
25 class HandleBox : public Gtk::HandleBox
26 {
27 public:
28     HandleBox(Gtk::Widget *widget,
29               Gtk::PositionType position = Gtk::POS_LEFT);
31 protected:
32     Gtk::Widget *_widget;
33 };
35 } // namespace Widget
36 } // namespace UI
37 } // namespace Inkscape
39 #endif // INKSCAPE_UI_WIDGET_HANDLEBOX_H
41 /* 
42   Local Variables:
43   mode:c++
44   c-file-style:"stroustrup"
45   c-file-offsets:((innamespace . 0)(inline-open . 0))
46   indent-tabs-mode:nil
47   fill-column:99
48   End:
49 */
50 // vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :