Guitarix
Gxw::Regler Class Reference

#include <regler.h>

Inheritance diagram for Gxw::Regler:
Collaboration diagram for Gxw::Regler:

Public Types

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 ~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::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

 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 Regler_Class
 

Related Functions

(Note that these are not member functions.)

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

Detailed Description

Definition at line 45 of file regler.h.

Member Typedef Documentation

◆ BaseClassType

Definition at line 51 of file regler.h.

◆ BaseObjectType

Definition at line 50 of file regler.h.

◆ CppClassType

Definition at line 49 of file regler.h.

◆ CppObjectType

Definition at line 48 of file regler.h.

Constructor & Destructor Documentation

◆ ~Regler()

Gxw::Regler::~Regler ( )
virtual

Definition at line 438 of file regler.cc.

◆ Regler() [1/3]

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

Definition at line 426 of file regler.cc.

◆ Regler() [2/3]

Gxw::Regler::Regler ( GxRegler castitem)
explicitprotected

Definition at line 432 of file regler.cc.

◆ Regler() [3/3]

Gxw::Regler::Regler ( )
protected

Definition at line 487 of file regler.cc.

Member Function Documentation

◆ get_base_type()

GType Gxw::Regler::get_base_type ( )
static

Definition at line 451 of file regler.cc.

◆ get_label_ref()

Gtk::Label * Gxw::Regler::get_label_ref ( )

Definition at line 462 of file regler.cc.

◆ get_show_value()

bool Gxw::Regler::get_show_value ( )

Definition at line 472 of file regler.cc.

◆ get_type()

GType Gxw::Regler::get_type ( )
static

Definition at line 445 of file regler.cc.

Referenced by Gxw::wrap_init().

◆ get_value_position()

Gtk::PositionType Gxw::Regler::get_value_position ( )

Definition at line 482 of file regler.cc.

◆ gobj() [1/2]

GxRegler* Gxw::Regler::gobj ( )
inline

Provides access to the underlying C GtkObject.

Definition at line 81 of file regler.h.

Referenced by get_label_ref(), get_show_value(), get_value_position(), set_label_ref(), set_show_value(), and set_value_position().

◆ gobj() [2/2]

const GxRegler* Gxw::Regler::gobj ( ) const
inline

Provides access to the underlying C GtkObject.

Definition at line 84 of file regler.h.

◆ on_format_value()

Glib::ustring Gxw::Regler::on_format_value ( double  value)
protectedvirtual

This is a default handler for the signal signal_format_value().

Definition at line 604 of file regler.cc.

◆ on_input_value()

int Gxw::Regler::on_input_value ( void *  spin,
void *  new_val 
)
protectedvirtual

This is a default handler for the signal signal_input_value().

Definition at line 592 of file regler.cc.

◆ on_value_entry()

bool Gxw::Regler::on_value_entry ( const Gdk::Rectangle &  p1,
GdkEventButton *  p2 
)
protectedvirtual

This is a default handler for the signal signal_value_entry().

Definition at line 580 of file regler.cc.

◆ set_label_ref()

void Gxw::Regler::set_label_ref ( Gtk::Label *  p1)

◆ set_show_value()

void Gxw::Regler::set_show_value ( bool  p1)

Definition at line 467 of file regler.cc.

Referenced by Demo::Demo(), and gx_gui::CpBase::init().

◆ set_value_position()

void Gxw::Regler::set_value_position ( Gtk::PositionType  p1)

Definition at line 477 of file regler.cc.

Referenced by Demo::Demo().

◆ signal_format_value()

Glib::SignalProxy1< Glib::ustring, double > Gxw::Regler::signal_format_value ( )
Slot Prototype:
Glib::ustring on_my_format_value(double value)

Definition at line 510 of file regler.cc.

Referenced by gx_gui::CpBase::init().

◆ signal_input_value()

Glib::SignalProxy2< int, void *, void * > Gxw::Regler::signal_input_value ( )
Slot Prototype:
int on_my_input_value(void * spin, void * new_val)

Definition at line 504 of file regler.cc.

Referenced by gx_gui::CpBase::init().

◆ signal_value_entry()

Glib::SignalProxy2< bool, const Gdk::Rectangle &, GdkEventButton * > Gxw::Regler::signal_value_entry ( )
Slot Prototype:
bool on_my_value_entry(const Gdk::Rectangle& p1, GdkEventButton* p2)

Definition at line 498 of file regler.cc.

Friends And Related Function Documentation

◆ Regler_Class

friend class Regler_Class
friend

Definition at line 59 of file regler.h.

◆ wrap()

Gxw::Regler * wrap ( GxRegler 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 236 of file regler.cc.


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