Cadabra
Computer algebra system for field theory problems
Loading...
Searching...
No Matches
SliderView.hh
Go to the documentation of this file.
1
2#pragma once
3
4#include <gtkmm/box.h>
5#include <gtkmm/scale.h>
6#include <gtkmm/eventbox.h>
7#include <gtkmm/adjustment.h>
8
9namespace cadabra {
10
20
21 class SliderView : public Gtk::EventBox {
22 public:
23 SliderView(std::string config);
24 virtual ~SliderView();
25
26 std::string get_variable() const;
27
28 Glib::RefPtr<Gtk::Adjustment> adjustment;
29
30 private:
31 Gtk::VBox vbox;
32 Gtk::Scale scale;
33
35 std::string variable;
36 };
37
38 };
An slider widget.
Definition SliderView.hh:21
std::string variable
Definition SliderView.hh:35
double step_size
Definition SliderView.hh:34
Glib::RefPtr< Gtk::Adjustment > adjustment
Definition SliderView.hh:28
double min_value
Definition SliderView.hh:34
Gtk::VBox vbox
Definition SliderView.hh:31
double max_value
Definition SliderView.hh:34
virtual ~SliderView()
Definition SliderView.cc:54
Gtk::Scale scale
Definition SliderView.hh:32
std::string get_variable() const
Definition SliderView.cc:58
double value
Definition SliderView.hh:34
Functions to handle the exchange properties of two or more symbols in a product.
Definition Adjform.cc:83
void set(rset_t::iterator &num, multiplier_t fac)
Definition Storage.cc:1064