|
SBB Host
Host communication with the self balancing bike.
|
A class with a Gtk::SpinButton and Gtk::Label. More...
#include <EntryLabel.h>
Public Member Functions | |
| SpinEntryLabel (double val, double lower, double upper, double step, Glib::ustring lbl) | |
| Constructor. More... | |
| void | set_value (double val) |
| Set the value. More... | |
| double | get_value () |
| Get the value. More... | |
Protected Attributes | |
| Gtk::Box | box |
| Gtk::Box object of the widget. More... | |
| Gtk::Label | label |
| label string variable. More... | |
| Gtk::SpinButton | entry |
| Gtk::SpinButton object. More... | |
A class with a Gtk::SpinButton and Gtk::Label.
Class including a Gtk::SpinButton together with a Gtk::Label, used in SettingsDialog.
| SpinEntryLabel::SpinEntryLabel | ( | double | val, |
| double | lower, | ||
| double | upper, | ||
| double | step, | ||
| Glib::ustring | lbl | ||
| ) |
Constructor.
Default constructor.
| val | The default value of the spin button. |
| lower | The lower bound of the spin button. |
| upper | The upper bound of the spin button. |
| step | The step of the spin button. |
| lbl | The label. |
| double SpinEntryLabel::get_value | ( | ) |
Get the value.
Function to get the value of the spin button.
| void SpinEntryLabel::set_value | ( | double | val | ) |
Set the value.
Function to set the value of the spin button.
| val | The value of the spin button. |
|
protected |
Gtk::Box object of the widget.
|
protected |
Gtk::SpinButton object.
|
protected |
label string variable.