cluttermm: Clutter::BehaviourScale Class Reference

Inheritance diagram for Clutter::BehaviourScale:
Collaboration diagram for Clutter::BehaviourScale:

Public Member Functions

virtual ~BehaviourScale ()
 
ClutterBehaviourScale* gobj ()
 Provides access to the underlying C GObject. More...

 
const ClutterBehaviourScale* gobj () const
 Provides access to the underlying C GObject. More...

 
ClutterBehaviourScale* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...

 
void set_bounds (double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end)
 Sets the bounds used by scale behaviour. More...

 
void get_bounds (double& x_scale_start, double& y_scale_start, double& x_scale_end, double& y_scale_end) const
 Retrieves the bounds used by scale behaviour. More...

 
Glib::PropertyProxy< double > property_x_scale_start ()
 Initial scale on the X axis. More...

 
Glib::PropertyProxy_ReadOnly

< double > 
property_x_scale_start () const
 Initial scale on the X axis. More...

 
Glib::PropertyProxy< double > property_x_scale_end ()
 Final scale on the X axis. More...

 
Glib::PropertyProxy_ReadOnly

< double > 
property_x_scale_end () const
 Final scale on the X axis. More...

 
Glib::PropertyProxy< double > property_y_scale_start ()
 Initial scale on the Y axis. More...

 
Glib::PropertyProxy_ReadOnly

< double > 
property_y_scale_start () const
 Initial scale on the Y axis. More...

 
Glib::PropertyProxy< double > property_y_scale_end ()
 Final scale on the Y axis. More...

 
Glib::PropertyProxy_ReadOnly

< double > 
property_y_scale_end () const
 Final scale on the Y axis. More...

 
- Public Member Functions inherited from Clutter::Behaviour
virtual ~Behaviour ()
 
ClutterBehaviour* gobj ()
 Provides access to the underlying C GObject. More...

 
const ClutterBehaviour* gobj () const
 Provides access to the underlying C GObject. More...

 
ClutterBehaviour* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...

 
void apply (const Glib::RefPtr< Actor >& actor)
 Applies behave to actor. More...

 
void remove (const Glib::RefPtr< Actor >& actor)
 Removes actor from the list of Clutter::Actors to which behave applies. More...

 
void remove_all ()
 Removes every actor from the list that behave holds. More...

 
bool is_applied (const Glib::RefPtr< Actor >& actor)
 Check if behave applied to actor. More...

 
std::vector< Glib::RefPtr

< Actor > > 
get_actors ()
 
std::vector< Glib::RefPtr

< Actor const > > 
get_actors () const
 
int get_n_actors () const
 Gets the number of actors this behaviour is applied too. More...

 
Glib::RefPtr< Actorget_nth_actor (int index)
 Gets an actor the behaviour was applied to referenced by index num. More...

 
Glib::RefPtr< const Actorget_nth_actor (int index) const
 Gets an actor the behaviour was applied to referenced by index num. More...

 
Glib::RefPtr< Alphaget_alpha ()
 Retrieves the Clutter::Alpha object bound to behave. More...

 
Glib::RefPtr< const Alphaget_alpha () const
 Retrieves the Clutter::Alpha object bound to behave. More...

 
void set_alpha (const Glib::RefPtr< Alpha >& alpha)
 Binds alpha to a Clutter::Behaviour. More...

 
void actors_foreach (const SlotForEach& slot)
 
Glib::SignalProxy1< void,

const Glib::RefPtr< Actor >& > 
signal_applied ()
 
Glib::SignalProxy1< void,

const Glib::RefPtr< Actor >& > 
signal_removed ()
 
Glib::PropertyProxy

< Glib::RefPtr< Alpha > > 
property_alpha ()
 Alpha Object to drive the behaviour. More...

 
Glib::PropertyProxy_ReadOnly

< Glib::RefPtr< Alpha > > 
property_alpha () const
 Alpha Object to drive the behaviour. More...

 

Static Public Member Functions

static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system. More...

 
static Glib::RefPtr

< BehaviourScale
create (const Glib::RefPtr< Alpha >& alpha, double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end)
 
- Static Public Member Functions inherited from Clutter::Behaviour
static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system. More...

 

Protected Member Functions

 BehaviourScale (const Glib::RefPtr< Alpha >& alpha, double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end)
 
- Protected Member Functions inherited from Clutter::Behaviour
 Behaviour ()
 
virtual void alpha_notify_vfunc (double alpha_value)
 
virtual void on_applied (const Glib::RefPtr< Actor >& actor)
 This is a default handler for the signal signal_applied(). More...

 
virtual void on_removed (const Glib::RefPtr< Actor >& actor)
 This is a default handler for the signal signal_removed(). More...

 

Related Functions

(Note that these are not member functions.)

Glib::RefPtr

< Clutter::BehaviourScale
wrap (ClutterBehaviourScale* object, bool take_copy=false)
 A Glib::wrap() method for this object. More...

 

Additional Inherited Members

- Public Types inherited from Clutter::Behaviour
typedef sigc::slot< void,

const Glib::RefPtr< Behaviour >

&, const Glib::RefPtr< Actor >& > 
SlotForEach
 For instance, void on_foreach(const Glib::RefPtr<Behaviour>& behaviour, const Glib::RefPtr<Actor>& actor) More...

 

Detailed Description

Deprecated:
Use the Actor's scale-x and scale-y properties, with Actor::animate(), or Animator or State instead.

Constructor & Destructor Documentation

virtual Clutter::BehaviourScale::~BehaviourScale ( )
virtual
Clutter::BehaviourScale::BehaviourScale ( const Glib::RefPtr< Alpha >&  alpha,
double  x_scale_start,
double  y_scale_start,
double  x_scale_end,
double  y_scale_end 
)
explicitprotected

Member Function Documentation

static Glib::RefPtr<BehaviourScale> Clutter::BehaviourScale::create ( const Glib::RefPtr< Alpha >&  alpha,
double  x_scale_start,
double  y_scale_start,
double  x_scale_end,
double  y_scale_end 
)
static
void Clutter::BehaviourScale::get_bounds ( double &  x_scale_start,
double &  y_scale_start,
double &  x_scale_end,
double &  y_scale_end 
) const

Retrieves the bounds used by scale behaviour.

Since cluttermm 0.4:

Deprecated: 1.6

Parameters
x_scale_startReturn location for the initial scale factor on the X axis, or 0.
y_scale_startReturn location for the initial scale factor on the Y axis, or 0.
x_scale_endReturn location for the final scale factor on the X axis, or 0.
y_scale_endReturn location for the final scale factor on the Y axis, or 0.
static GType Clutter::BehaviourScale::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

ClutterBehaviourScale* Clutter::BehaviourScale::gobj ( )
inline

Provides access to the underlying C GObject.

const ClutterBehaviourScale* Clutter::BehaviourScale::gobj ( ) const
inline

Provides access to the underlying C GObject.

ClutterBehaviourScale* Clutter::BehaviourScale::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< double > Clutter::BehaviourScale::property_x_scale_end ( )

Final scale on the X axis.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< double > Clutter::BehaviourScale::property_x_scale_end ( ) const

Final scale on the X axis.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy< double > Clutter::BehaviourScale::property_x_scale_start ( )

Initial scale on the X axis.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< double > Clutter::BehaviourScale::property_x_scale_start ( ) const

Initial scale on the X axis.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy< double > Clutter::BehaviourScale::property_y_scale_end ( )

Final scale on the Y axis.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< double > Clutter::BehaviourScale::property_y_scale_end ( ) const

Final scale on the Y axis.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy< double > Clutter::BehaviourScale::property_y_scale_start ( )

Initial scale on the Y axis.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly< double > Clutter::BehaviourScale::property_y_scale_start ( ) const

Initial scale on the Y axis.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
void Clutter::BehaviourScale::set_bounds ( double  x_scale_start,
double  y_scale_start,
double  x_scale_end,
double  y_scale_end 
)

Sets the bounds used by scale behaviour.

Since cluttermm 0.6:

Deprecated: 1.6

Parameters
x_scale_startInitial scale factor on the X axis.
y_scale_startInitial scale factor on the Y axis.
x_scale_endFinal scale factor on the X axis.
y_scale_endFinal scale factor on the Y axis.

Friends And Related Function Documentation

Glib::RefPtr< Clutter::BehaviourScale > wrap ( ClutterBehaviourScale *  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.

The documentation for this class was generated from the following file:
  • cluttermm/behaviour-scale.h