cluttermm
1.17.3
|
BindConstraint is a Constraint that binds the position or the size of the Actor to which it is applied to the the position or the size of another Actor, or "source". More...
Public Member Functions | |
virtual | ~BindConstraint () |
ClutterBindConstraint* | gobj () |
Provides access to the underlying C GObject. More... | |
const ClutterBindConstraint* | gobj () const |
Provides access to the underlying C GObject. More... | |
ClutterBindConstraint* | 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_source (const Glib::RefPtr< Actor >& source) |
Sets the source Clutter::Actor for the constraint. More... | |
Glib::RefPtr< Actor > | get_source () |
Retrieves the Clutter::Actor set using set_source() More... | |
Glib::RefPtr< const Actor > | get_source () const |
Retrieves the Clutter::Actor set using set_source() More... | |
void | set_coordinate (BindCoordinate coordinate) |
Sets the coordinate to bind in the constraint. More... | |
BindCoordinate | get_coordinate () const |
Retrieves the bound coordinate of the constraint. More... | |
void | set_offset (float offset) |
Sets the offset to be applied to the constraint. More... | |
float | get_offset () const |
Retrieves the offset set using set_offset() More... | |
![]() | |
virtual | ~Constraint () |
ClutterConstraint* | gobj () |
Provides access to the underlying C GObject. More... | |
const ClutterConstraint* | gobj () const |
Provides access to the underlying C GObject. More... | |
ClutterConstraint* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More... | |
![]() | |
virtual | ~ActorMeta () |
ClutterActorMeta* | gobj () |
Provides access to the underlying C GObject. More... | |
const ClutterActorMeta* | gobj () const |
Provides access to the underlying C GObject. More... | |
ClutterActorMeta* | 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_name (const Glib::ustring& name) |
Sets the name of meta. More... | |
Glib::ustring | get_name () const |
Retrieves the name set using set_name() More... | |
void | set_enabled (bool is_enabled=true) |
Sets whether meta should be enabled or not. More... | |
bool | get_enabled () const |
Retrieves whether meta is enabled. More... | |
Glib::RefPtr< Actor > | get_actor () |
Retrieves a pointer to the Clutter::Actor that owns meta. More... | |
Glib::RefPtr< const Actor > | get_actor () const |
Retrieves a pointer to the Clutter::Actor that owns meta. 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 < BindConstraint > | create (const Glib::RefPtr< Actor >& source, BindCoordinate coordinate, float offset) |
![]() | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
![]() | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr < Clutter::BindConstraint > | wrap (ClutterBindConstraint* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
![]() | |
Glib::RefPtr< Clutter::Constraint > | wrap (ClutterConstraint* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
![]() | |
Glib::RefPtr< Clutter::ActorMeta > | wrap (ClutterActorMeta* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
BindConstraint is a Constraint that binds the position or the size of the Actor to which it is applied to the the position or the size of another Actor, or "source".
An offset can be applied to the constraint, to avoid overlapping. The offset can also be animated.
|
virtual |
|
explicitprotected |
|
static |
BindCoordinate Clutter::BindConstraint::get_coordinate | ( | ) | const |
Retrieves the bound coordinate of the constraint.
float Clutter::BindConstraint::get_offset | ( | ) | const |
Retrieves the offset set using set_offset()
Glib::RefPtr<Actor> Clutter::BindConstraint::get_source | ( | ) |
Retrieves the Clutter::Actor set using set_source()
Glib::RefPtr<const Actor> Clutter::BindConstraint::get_source | ( | ) | const |
Retrieves the Clutter::Actor set using set_source()
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C GObject.
|
inline |
Provides access to the underlying C GObject.
ClutterBindConstraint* Clutter::BindConstraint::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
protected |
The coordinate to bind.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
protected |
The coordinate to bind.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
protected |
The offset in pixels to apply to the binding.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
protected |
The offset in pixels to apply to the binding.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
protected |
The source of the binding.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
protected |
The source of the binding.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void Clutter::BindConstraint::set_coordinate | ( | BindCoordinate | coordinate | ) |
Sets the coordinate to bind in the constraint.
coordinate | The coordinate to bind. |
void Clutter::BindConstraint::set_offset | ( | float | offset | ) |
Sets the offset to be applied to the constraint.
offset | The offset to apply, in pixels. |
void Clutter::BindConstraint::set_source | ( | const Glib::RefPtr< Actor >& | source | ) |
Sets the source Clutter::Actor for the constraint.
source | A Clutter::Actor, or 0 to unset the source. |
|
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. |