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

§ BaseClassType

Definition at line 50 of file switch.h.

§ BaseObjectType

Definition at line 49 of file switch.h.

§ CppClassType

Definition at line 48 of file switch.h.

§ CppObjectType

Definition at line 47 of file switch.h.

Constructor & Destructor Documentation

§ ~Switch()

Gxw::Switch::~Switch ( )
virtual

Definition at line 110 of file switch.cc.

§ Switch() [1/4]

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

Definition at line 98 of file switch.cc.

§ Switch() [2/4]

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

Definition at line 104 of file switch.cc.

§ Switch() [3/4]

Gxw::Switch::Switch ( )

Definition at line 129 of file switch.cc.

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

§ Switch() [4/4]

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

Definition at line 30 of file switch.cc.

Member Function Documentation

§ get_base_name()

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

Definition at line 154 of file switch.cc.

Referenced by gobj().

§ get_base_type()

GType Gxw::Switch::get_base_type ( )
static

Definition at line 123 of file switch.cc.

§ get_label_ref()

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

Definition at line 144 of file switch.cc.

Referenced by gobj().

§ get_type()

GType Gxw::Switch::get_type ( )
static

Definition at line 117 of file switch.cc.

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

§ gobj() [1/2]

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().

§ gobj() [2/2]

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

Provides access to the underlying C GtkObject.

Definition at line 83 of file switch.h.

§ set_base_name()

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

Definition at line 149 of file switch.cc.

Referenced by gobj().

§ set_label_ref()

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

§ Switch_Class

friend class Switch_Class
friend

Definition at line 58 of file switch.h.

§ wrap()

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: