14#include <gtkmm/entry.h>
18Text::Text(Glib::ustring
const &label, Glib::ustring
const &tooltip,
19 Glib::ustring
const &icon,
22 setProgrammatically(false)
44 auto const entry =
dynamic_cast<Gtk::Entry
const *
>(
getWidget());
51 return const_cast<Gtk::Entry &
>(std::as_const(*this).getEntry());
Helperclass for Gtk::Entry widgets.
void setText(Glib::ustring const text)
Sets the text of the text entry.
Gtk::Entry const & getEntry() const
Glib::SignalProxy< void()> signal_activate()
Signal raised when the spin button's value changes.
Glib::ustring const getText() const
Get the text in the entry.
Text(Glib::ustring const &label, Glib::ustring const &tooltip, Glib::ustring const &icon={}, bool mnemonic=true)
Construct a Text Widget.