blob: 3674d51d4582952cf64d2d9269864c78cc3e7475 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Authors:
* Johan Engelen <goejendaagh@zonnet.nl>
*
* Copyright (C) 2006 Authors
*
* Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#ifndef INKSCAPE_UI_WIDGET_ENTRY__H
#define INKSCAPE_UI_WIDGET_ENTRY__H
#include "labelled.h"
namespace Gtk {
class Entry;
}
namespace Inkscape {
namespace UI {
namespace Widget {
/**
* Helperclass for Gtk::Entry widgets.
*/
class Entry : public Labelled
{
public:
Entry( Glib::ustring const &label,
Glib::ustring const &tooltip,
Glib::ustring const &suffix = "",
Glib::ustring const &icon = "",
bool mnemonic = true);
// TO DO: add methods to access Gtk::Entry widget
Gtk::Entry* getEntry() {return (Gtk::Entry*)(_widget);};
};
} // namespace Widget
} // namespace UI
} // namespace Inkscape
#endif // INKSCAPE_UI_WIDGET_ENTRY__H
|