Guitarix
gx_gui::UiSelector< T > Class Template Reference

#include <gx_main_interface.h>

Inheritance diagram for gx_gui::UiSelector< T >:
Collaboration diagram for gx_gui::UiSelector< T >:

Public Member Functions

 UiSelector (gx_engine::GxMachineBase &machine, const std::string &id)
 
 ~UiSelector ()
 
void set_name (const Glib::ustring &n)
 
 UiSelector (gx_engine::GxMachineBase &machine_, const std::string &id_)
 
 UiSelector (gx_engine::GxMachineBase &machine, const std::string &id_)
 
- Public Member Functions inherited from Gxw::Selector
virtual ~Selector ()
 
GxSelectorgobj ()
 Provides access to the underlying C GtkObject. More...
 
const GxSelectorgobj () const
 Provides access to the underlying C GtkObject. More...
 
 Selector ()
 
void set_model (Glib::RefPtr< Gtk::TreeModel > p1)
 
Glib::RefPtr< Gtk::TreeModel > get_model ()
 
- Public Member Functions inherited from Gxw::Regler
virtual ~Regler ()
 
GxReglergobj ()
 Provides access to the underlying C GtkObject. More...
 
const GxReglergobj () const
 Provides access to the underlying C GtkObject. More...
 
void set_label_ref (Gtk::Label *p1)
 
Gtk::Label * get_label_ref ()
 
void set_show_value (bool p1)
 
bool get_show_value ()
 
void set_value_position (Gtk::PositionType p1)
 
Gtk::PositionType get_value_position ()
 
Glib::SignalProxy2< bool, const Gdk::Rectangle &, GdkEventButton * > signal_value_entry ()
 
Glib::SignalProxy2< int, void *, void * > signal_input_value ()
 
Glib::SignalProxy1< Glib::ustring, double > signal_format_value ()
 
- Public Member Functions inherited from Gxw::ControlParameter
 ControlParameter (GxControlParameter *castitem)
 
virtual ~ControlParameter ()
 
GxControlParametergobj ()
 Provides access to the underlying C GObject. More...
 
const GxControlParametergobj () const
 Provides access to the underlying C GObject. More...
 
void cp_configure (Glib::ustring group, Glib::ustring name, double lower, double upper, double step)
 
void cp_set_value (double value)
 
double cp_get_value ()
 
int cp_get_int_value ()
 
Glib::ustring cp_get_var ()
 
void cp_set_var (Glib::ustring p1)
 

Additional Inherited Members

- Public Types inherited from Gxw::Selector
typedef Selector CppObjectType
 
typedef Selector_Class CppClassType
 
typedef GxSelector BaseObjectType
 
typedef GxSelectorClass BaseClassType
 
- Public Types inherited from Gxw::Regler
typedef Regler CppObjectType
 
typedef Regler_Class CppClassType
 
typedef GxRegler BaseObjectType
 
typedef GxReglerClass BaseClassType
 
- Public Types inherited from Gxw::ControlParameter
typedef ControlParameter CppObjectType
 
typedef ControlParameter_Class CppClassType
 
typedef GxControlParameter BaseObjectType
 
typedef GxControlParameterIface BaseClassType
 
- Static Public Member Functions inherited from Gxw::Selector
static GType get_type () G_GNUC_CONST
 
static GType get_base_type () G_GNUC_CONST
 
- Static Public Member Functions inherited from Gxw::Regler
static GType get_type () G_GNUC_CONST
 
static GType get_base_type () G_GNUC_CONST
 
- Static Public Member Functions inherited from Gxw::ControlParameter
static void add_interface (GType gtype_implementer)
 
static GType get_type () G_GNUC_CONST
 
static GType get_base_type () G_GNUC_CONST
 
- Protected Member Functions inherited from Gxw::Selector
 Selector (const Glib::ConstructParams &construct_params)
 
 Selector (GxSelector *castitem)
 
- Protected Member Functions inherited from Gxw::Regler
 Regler (const Glib::ConstructParams &construct_params)
 
 Regler (GxRegler *castitem)
 
virtual bool on_value_entry (const Gdk::Rectangle &p1, GdkEventButton *p2)
 This is a default handler for the signal signal_value_entry(). More...
 
virtual int on_input_value (void *spin, void *new_val)
 This is a default handler for the signal signal_input_value(). More...
 
virtual Glib::ustring on_format_value (double value)
 This is a default handler for the signal signal_format_value(). More...
 
 Regler ()
 
- Protected Member Functions inherited from Gxw::ControlParameter
 ControlParameter ()
 You should derive from this class to use it. More...
 
 ControlParameter (const Glib::Interface_Class &interface_class)
 Called by constructors of derived classes. More...
 

Detailed Description

template<class T>
class gx_gui::UiSelector< T >

Definition at line 172 of file gx_main_interface.h.

Constructor & Destructor Documentation

◆ UiSelector() [1/3]

template<class T >
gx_gui::UiSelector< T >::UiSelector ( gx_engine::GxMachineBase machine,
const std::string &  id 
)

◆ ~UiSelector()

template<class T >
gx_gui::UiSelector< T >::~UiSelector

Definition at line 184 of file gx_main_interface.h.

◆ UiSelector() [2/3]

gx_gui::UiSelector< float >::UiSelector ( gx_engine::GxMachineBase machine_,
const std::string &  id_ 
)

Definition at line 285 of file gxw_mm_controllers.cpp.

◆ UiSelector() [3/3]

gx_gui::UiSelector< int >::UiSelector ( gx_engine::GxMachineBase machine,
const std::string &  id_ 
)

Definition at line 312 of file gxw_mm_controllers.cpp.

Member Function Documentation

◆ set_name()

template<class T >
void gx_gui::UiSelector< T >::set_name ( const Glib::ustring &  n)
inline

The documentation for this class was generated from the following files: