Guitarix
Gxw::MidKnob Class Reference

#include <midknob.h>

Inheritance diagram for Gxw::MidKnob:
Collaboration diagram for Gxw::MidKnob:

Public Types

typedef MidKnob CppObjectType
 
typedef MidKnob_Class CppClassType
 
typedef GxMidKnob BaseObjectType
 
typedef GxMidKnobClass BaseClassType
 
- Public Types inherited from Gxw::Knob
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 ~MidKnob ()
 
GxMidKnobgobj ()
 Provides access to the underlying C GtkObject. More...
 
const GxMidKnobgobj () const
 Provides access to the underlying C GtkObject. More...
 
 MidKnob ()
 
 MidKnob (Gtk::Adjustment &adjustment)
 
- Public Member Functions inherited from Gxw::Knob
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::Knob
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

 MidKnob (const Glib::ConstructParams &construct_params)
 
 MidKnob (GxMidKnob *castitem)
 
- Protected Member Functions inherited from Gxw::Knob
 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 MidKnob_Class
 

Related Functions

(Note that these are not member functions.)

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

Detailed Description

Definition at line 43 of file midknob.h.

Member Typedef Documentation

Definition at line 49 of file midknob.h.

Definition at line 48 of file midknob.h.

Definition at line 47 of file midknob.h.

Definition at line 46 of file midknob.h.

Constructor & Destructor Documentation

Gxw::MidKnob::~MidKnob ( )
virtual

Definition at line 109 of file midknob.cc.

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

Definition at line 97 of file midknob.cc.

Gxw::MidKnob::MidKnob ( GxMidKnob castitem)
explicitprotected

Definition at line 103 of file midknob.cc.

Gxw::MidKnob::MidKnob ( )

Definition at line 128 of file midknob.cc.

Referenced by gobj(), and Gxw::MidKnob_Class::wrap_new().

Gxw::MidKnob::MidKnob ( Gtk::Adjustment &  adjustment)
explicit

Definition at line 30 of file midknob.cc.

Member Function Documentation

GType Gxw::MidKnob::get_base_type ( )
static

Definition at line 122 of file midknob.cc.

GType Gxw::MidKnob::get_type ( )
static

Definition at line 116 of file midknob.cc.

Referenced by Gxw::wrap_init().

GxMidKnob* Gxw::MidKnob::gobj ( )
inline

Provides access to the underlying C GtkObject.

Definition at line 79 of file midknob.h.

const GxMidKnob* Gxw::MidKnob::gobj ( ) const
inline

Provides access to the underlying C GtkObject.

Definition at line 82 of file midknob.h.

Friends And Related Function Documentation

friend class MidKnob_Class
friend

Definition at line 57 of file midknob.h.

Gxw::MidKnob * wrap ( GxMidKnob 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 44 of file midknob.cc.

Referenced by gobj().


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