blob: bb6c1321a63b60c63ffa89a77af06c73f4eb1661 (
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
|
/** \file
*
* \brief Helperclass for Gtk::Entry widgets
*
* Authors:
* Johan Engelen <goejendaagh@zonnet.nl>
*
* Copyright (C) 2006 Authors
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#ifndef INKSCAPE_UI_WIDGET_ENTRY__H
#define INKSCAPE_UI_WIDGET_ENTRY__H
#include <gtkmm/entry.h>
#include <gtkmm/tooltips.h>
#include <gtkmm/label.h>
#include <gtkmm/box.h>
#include "labelled.h"
namespace Inkscape {
namespace UI {
namespace Widget {
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
|