Guitarix
Gxw::Knob Class Reference

#include <knob.h>

Inheritance diagram for Gxw::Knob:
Collaboration diagram for Gxw::Knob:

Public Types

typedef Knob CppObjectType
 
typedef Knob_Class CppClassType
 
typedef GxKnob BaseObjectType
 
typedef GxKnobClass 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
 

Public Member Functions

virtual ~Knob ()
 
GxKnobgobj ()
 Provides access to the underlying C GtkObject. More...
 
const GxKnobgobj () const
 Provides access to the underlying C GtkObject. More...
 
- 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)
 

Static Public Member Functions

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

 Knob (const Glib::ConstructParams &construct_params)
 
 Knob (GxKnob *castitem)
 
 Knob ()
 
- 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...
 

Friends

class Knob_Class
 

Related Functions

(Note that these are not member functions.)

Gxw::Knobwrap (GxKnob *object, bool take_copy=false)
 A Glib::wrap() method for this object. More...
 

Detailed Description

Definition at line 42 of file knob.h.

Member Typedef Documentation

◆ BaseClassType

Definition at line 48 of file knob.h.

◆ BaseObjectType

Definition at line 47 of file knob.h.

◆ CppClassType

Definition at line 46 of file knob.h.

◆ CppObjectType

Definition at line 45 of file knob.h.

Constructor & Destructor Documentation

◆ ~Knob()

Gxw::Knob::~Knob ( )
virtual

Definition at line 103 of file knob.cc.

◆ Knob() [1/3]

Gxw::Knob::Knob ( const Glib::ConstructParams &  construct_params)
explicitprotected

Definition at line 91 of file knob.cc.

◆ Knob() [2/3]

Gxw::Knob::Knob ( GxKnob castitem)
explicitprotected

Definition at line 97 of file knob.cc.

◆ Knob() [3/3]

Gxw::Knob::Knob ( )
protected

Definition at line 122 of file knob.cc.

Member Function Documentation

◆ get_base_type()

GType Gxw::Knob::get_base_type ( )
static

Definition at line 116 of file knob.cc.

◆ get_type()

GType Gxw::Knob::get_type ( )
static

Definition at line 110 of file knob.cc.

Referenced by Gxw::wrap_init().

◆ gobj() [1/2]

GxKnob* Gxw::Knob::gobj ( )
inline

Provides access to the underlying C GtkObject.

Definition at line 78 of file knob.h.

◆ gobj() [2/2]

const GxKnob* Gxw::Knob::gobj ( ) const
inline

Provides access to the underlying C GtkObject.

Definition at line 81 of file knob.h.

Friends And Related Function Documentation

◆ Knob_Class

friend class Knob_Class
friend

Definition at line 56 of file knob.h.

◆ wrap()

Gxw::Knob * wrap ( GxKnob object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

Definition at line 38 of file knob.cc.


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