2
* \brief Labelled Widget - Adds a label with optional icon or suffix to
6
* Carl Hetherington <inkscape@carlh.net>
7
* Derek P. Moore <derekm@hackunix.org>
9
* Copyright (C) 2004 Carl Hetherington
11
* Released under GNU GPL. Read the file 'COPYING' for more information.
14
#ifndef INKSCAPE_UI_WIDGET_LABELLED_H
15
#define INKSCAPE_UI_WIDGET_LABELLED_H
17
#include <gtkmm/box.h>
18
#include <gtkmm/label.h>
19
#include <gtkmm/image.h>
20
#include <gtkmm/tooltips.h>
26
class Labelled : public Gtk::HBox
29
Labelled(Glib::ustring const &label, Glib::ustring const &tooltip,
31
Glib::ustring const &suffix = "",
32
Glib::ustring const &icon = "",
33
bool mnemonic = true);
36
* Allow the setting of the width of the labelled widget
38
void setWidgetSizeRequest(int width, int height);
39
Gtk::Widget const *getWidget() const;
40
Gtk::Label const *getLabel() const;
47
Gtk::Tooltips _tooltips;
52
} // namespace Inkscape
54
#endif // INKSCAPE_UI_WIDGET_LABELLED_H
59
c-file-style:"stroustrup"
60
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
65
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :