Guitarix
Gxw::Switch Class Reference

#include <switch.h>

Inheritance diagram for Gxw::Switch:
Collaboration diagram for Gxw::Switch:

Public Types

typedef Switch CppObjectType
 
typedef Switch_Class CppClassType
 
typedef GxSwitch BaseObjectType
 
typedef GxSwitchClass BaseClassType
 
- Public Types inherited from Gxw::ControlParameter
typedef ControlParameter CppObjectType
 
typedef ControlParameter_Class CppClassType
 
typedef GxControlParameter BaseObjectType
 
typedef GxControlParameterIface BaseClassType
 

Public Member Functions

virtual ~Switch ()
 
GxSwitchgobj ()
 Provides access to the underlying C GtkObject. More...
 
const GxSwitchgobj () const
 Provides access to the underlying C GtkObject. More...
 
 Switch ()
 
 Switch (const Glib::ustring &base_name)
 
void set_label_ref (Gtk::Label *p1)
 
Gtk::Label * get_label_ref ()
 
void set_base_name (const Glib::ustring &p1)
 
Glib::ustring get_base_name ()
 
- 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

 Switch (const Glib::ConstructParams &construct_params)
 
 Switch (GxSwitch *castitem)
 
- 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 Switch_Class
 

Related Functions

(Note that these are not member functions.)

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

Detailed Description

Definition at line 44 of file switch.h.

Member Typedef Documentation

Definition at line 50 of file switch.h.

Definition at line 49 of file switch.h.

Definition at line 48 of file switch.h.

Definition at line 47 of file switch.h.

Constructor & Destructor Documentation

Gxw::Switch::~Switch ( )
virtual

Definition at line 110 of file switch.cc.

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

Definition at line 98 of file switch.cc.

Gxw::Switch::Switch ( GxSwitch castitem)
explicitprotected

Definition at line 104 of file switch.cc.

Gxw::Switch::Switch ( )

Definition at line 129 of file switch.cc.

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

Gxw::Switch::Switch ( const Glib::ustring &  base_name)
explicit

Definition at line 30 of file switch.cc.

Member Function Documentation

Glib::ustring Gxw::Switch::get_base_name ( )

Definition at line 154 of file switch.cc.

Referenced by gobj().

GType Gxw::Switch::get_base_type ( )
static

Definition at line 123 of file switch.cc.

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

Definition at line 144 of file switch.cc.

Referenced by gobj().

GType Gxw::Switch::get_type ( )
static

Definition at line 117 of file switch.cc.

Referenced by Glib::wrap(), and Gxw::wrap_init().

GxSwitch* Gxw::Switch::gobj ( )
inline

Provides access to the underlying C GtkObject.

Definition at line 80 of file switch.h.

Referenced by get_base_name(), get_label_ref(), set_base_name(), and set_label_ref().

const GxSwitch* Gxw::Switch::gobj ( ) const
inline

Provides access to the underlying C GtkObject.

Definition at line 83 of file switch.h.

void Gxw::Switch::set_base_name ( const Glib::ustring &  p1)

Definition at line 149 of file switch.cc.

Referenced by gobj().

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

Definition at line 139 of file switch.cc.

Referenced by gobj().

Friends And Related Function Documentation

friend class Switch_Class
friend

Definition at line 58 of file switch.h.

Gxw::Switch * wrap ( GxSwitch 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 switch.cc.

Referenced by gobj().


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