22 #ifndef GtkSProp3_HEADER
23 #define GtkSProp3_HEADER
25 #include <libgtkcrnmm_config.h>
40 class Prop3:
public Gtk::EventBox
58 bool click(GdkEventButton *ev);
70 sigc::signal<void, crn::Prop3> value_changed;
virtual ~Prop3() override
Prop3(Gtk::IconSize is, const crn::Prop3 &p=crn::Prop3::Unknown())
Constructor.
void set_icon_size(Gtk::IconSize is)
Sets the icon size.
const crn::Prop3 & get_value() const
Gets the value.
bool click(GdkEventButton *ev)
Emulates a mouse button release on the image.
Gtk::IconSize get_icon_size() const
Gets the icon size.
A widget for ternary values representation.
void set_value(const crn::Prop3 &p)
Sets the value.
sigc::signal< void, crn::Prop3 > signal_value_changed()
Signals when the value was changed. Connect to void on_value_changed(crn::Prop3). ...