![]() |
Cadabra
Computer algebra system for field theory problems
|
An slider widget.
The configuration string is a JSON object which can contain the following key/value pairs:
#include <SliderView.hh>
Public Member Functions | |
SliderView (std::string config) | |
virtual | ~SliderView () |
std::string | get_variable () const |
Public Attributes | |
Glib::RefPtr< Gtk::Adjustment > | adjustment |
Private Attributes | |
Gtk::VBox | vbox |
Gtk::Scale | scale |
double | value |
double | min_value |
double | max_value |
double | step_size |
std::string | variable |
SliderView::SliderView | ( | std::string | config | ) |
|
virtual |
std::string SliderView::get_variable | ( | ) | const |
Glib::RefPtr<Gtk::Adjustment> cadabra::SliderView::adjustment |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |