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

Definition at line 51 of file regler.h.

Definition at line 50 of file regler.h.

Definition at line 49 of file regler.h.

Definition at line 48 of file regler.h.

Constructor & Destructor Documentation

Gxw::Regler::~Regler ( )
virtual

Definition at line 438 of file regler.cc.

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

Definition at line 426 of file regler.cc.

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

Definition at line 432 of file regler.cc.

Gxw::Regler::Regler ( )
protected

Definition at line 487 of file regler.cc.

Referenced by gobj().

Member Function Documentation

GType Gxw::Regler::get_base_type ( )
static

Definition at line 451 of file regler.cc.

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

Definition at line 462 of file regler.cc.

Referenced by gobj().

bool Gxw::Regler::get_show_value ( )

Definition at line 472 of file regler.cc.

Referenced by gobj().

GType Gxw::Regler::get_type ( )
static

Definition at line 445 of file regler.cc.

Referenced by Gxw::wrap_init().

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

Definition at line 482 of file regler.cc.

Referenced by gobj().

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(), on_format_value(), on_input_value(), on_value_entry(), set_label_ref(), set_show_value(), and set_value_position().

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

Provides access to the underlying C GtkObject.

Definition at line 84 of file regler.h.

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.

Referenced by gobj().

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.

Referenced by gobj().

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.

Referenced by gobj().

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

Definition at line 467 of file regler.cc.

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

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

Definition at line 477 of file regler.cc.

Referenced by Demo::Demo(), gx_gui::StackBoxBuilder::get_box(), and gobj().

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_jconv::IRWindow::create(), gobj(), and gx_gui::CpBase::init().

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 gobj(), and gx_gui::CpBase::init().

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.

Referenced by gobj().

Friends And Related Function Documentation

friend class Regler_Class
friend

Definition at line 59 of file regler.h.

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.

Referenced by gobj().


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