Inkscape
Vector Graphics Editor
entry.cpp
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Authors:
4 * Johan Engelen <goejendaagh@zonnet.nl>
5 *
6 * Copyright (C) 2006 Authors
7 *
8 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
9 */
10
11#include "entry.h"
12
13namespace Inkscape::UI::Widget {
14
15Entry::Entry(Glib::ustring const &label, Glib::ustring const &tooltip,
16 Glib::ustring const &icon,
17 bool const mnemonic)
18 : Labelled{label, tooltip, new Gtk::Entry{}, icon, mnemonic}
19{
20}
21
22} // namespace Inkscape::UI::Widget
23
24/*
25 Local Variables:
26 mode:c++
27 c-file-style:"stroustrup"
28 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
29 indent-tabs-mode:nil
30 fill-column:99
31 End:
32*/
33// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
Helperclass for Gtk::Entry widgets.
Definition: entry.h:24
Entry(Glib::ustring const &label, Glib::ustring const &tooltip, Glib::ustring const &icon={}, bool mnemonic=true)
Definition: entry.cpp:15
Adds a label with optional icon to another widget.
Definition: labelled.h:31
Definition: desktop.h:51
Custom widgets.
Definition: desktop.h:127