cluttermm 1.3.3
|
Public Types | |
enum | { MAX_ALPHA = 0xFFFF } |
typedef sigc::slot< double, const Glib::RefPtr< Alpha >& > | SlotAlphaFunc |
For instance, double on_alpha(const Glib::RefPtr<Alpha>& alpha);. | |
Public Member Functions | |
virtual | ~Alpha () |
ClutterAlpha* | gobj () |
Provides access to the underlying C GObject. | |
const ClutterAlpha* | gobj () const |
Provides access to the underlying C GObject. | |
ClutterAlpha* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
void | set_timeline (const Glib::RefPtr< Timeline >& timeline) |
Binds alpha to timeline. | |
Glib::RefPtr< Timeline > | get_timeline () |
Gets the Clutter::Timeline bound to alpha. | |
Glib::RefPtr< const Timeline > | get_timeline () const |
Gets the Clutter::Timeline bound to alpha. | |
double | get_alpha () const |
Query the current alpha value. | |
void | set_func (const SlotAlphaFunc& slot) |
void | set_mode (gulong mode) |
Sets the progress function of alpha using the symbolic value of mode, as taken by the Clutter::AnimationMode enumeration or using the value returned by register_func(). | |
gulong | get_mode () const |
Retrieves the Clutter::AnimationMode used by alpha. | |
Glib::PropertyProxy_ReadOnly < double > | property_alpha () const |
Alpha value. | |
Glib::PropertyProxy < Glib::RefPtr< Timeline > > | property_timeline () |
Timeline used by the alpha. | |
Glib::PropertyProxy_ReadOnly < Glib::RefPtr< Timeline > > | property_timeline () const |
Timeline used by the alpha. | |
Static Public Member Functions | |
static Glib::RefPtr< Alpha > | create () |
static Glib::RefPtr< Alpha > | create (const Glib::RefPtr< Timeline >& timeline, const SlotAlphaFunc& slot) |
static Glib::RefPtr< Alpha > | create (const Glib::RefPtr< Timeline >& timeline, gulong mode) |
Protected Member Functions | |
Alpha () | |
Alpha (const Glib::RefPtr< Timeline >& timeline, gulong mode) | |
Alpha (const Glib::RefPtr< Timeline >& timeline, const SlotAlphaFunc& slot) | |
Creates a new Alpha instance and sets the timeline and the alpha function. | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Clutter::Alpha > | wrap (ClutterAlpha* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
typedef sigc::slot<double, const Glib::RefPtr<Alpha>&> Clutter::Alpha::SlotAlphaFunc |
For instance, double on_alpha(const Glib::RefPtr<Alpha>& alpha);.
virtual Clutter::Alpha::~Alpha | ( | ) | [virtual] |
Clutter::Alpha::Alpha | ( | ) | [protected] |
Clutter::Alpha::Alpha | ( | const Glib::RefPtr< Timeline >& | timeline, |
gulong | mode | ||
) | [explicit, protected] |
Clutter::Alpha::Alpha | ( | const Glib::RefPtr< Timeline >& | timeline, |
const SlotAlphaFunc& | slot | ||
) | [protected] |
static Glib::RefPtr<Alpha> Clutter::Alpha::create | ( | ) | [static] |
static Glib::RefPtr<Alpha> Clutter::Alpha::create | ( | const Glib::RefPtr< Timeline >& | timeline, |
const SlotAlphaFunc& | slot | ||
) | [static] |
static Glib::RefPtr<Alpha> Clutter::Alpha::create | ( | const Glib::RefPtr< Timeline >& | timeline, |
gulong | mode | ||
) | [static] |
double Clutter::Alpha::get_alpha | ( | ) | const |
gulong Clutter::Alpha::get_mode | ( | ) | const |
Retrieves the Clutter::AnimationMode used by alpha.
Glib::RefPtr<Timeline> Clutter::Alpha::get_timeline | ( | ) |
Gets the Clutter::Timeline bound to alpha.
Glib::RefPtr<const Timeline> Clutter::Alpha::get_timeline | ( | ) | const |
Gets the Clutter::Timeline bound to alpha.
const ClutterAlpha* Clutter::Alpha::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
ClutterAlpha* Clutter::Alpha::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
ClutterAlpha* Clutter::Alpha::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::PropertyProxy_ReadOnly<double> Clutter::Alpha::property_alpha | ( | ) | const |
Alpha value.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Timeline> > Clutter::Alpha::property_timeline | ( | ) | const |
Timeline used by the alpha.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< Glib::RefPtr<Timeline> > Clutter::Alpha::property_timeline | ( | ) |
Timeline used by the alpha.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void Clutter::Alpha::set_func | ( | const SlotAlphaFunc& | slot | ) |
void Clutter::Alpha::set_mode | ( | gulong | mode | ) |
Sets the progress function of alpha using the symbolic value of mode, as taken by the Clutter::AnimationMode enumeration or using the value returned by register_func().
mode | A Clutter::AnimationMode. |
void Clutter::Alpha::set_timeline | ( | const Glib::RefPtr< Timeline >& | timeline | ) |
Glib::RefPtr< Clutter::Alpha > wrap | ( | ClutterAlpha * | object, |
bool | take_copy = false |
||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |