cluttermm: Clutter::Constraint Class Reference

Constraint is a base abstract class for modifiers of an Actor position or size. More...

Inheritance diagram for Clutter::Constraint:
Collaboration diagram for Clutter::Constraint:

Public Member Functions

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

 
- Public Member Functions inherited from Clutter::ActorMeta
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< Actorget_actor ()
 Retrieves a pointer to the Clutter::Actor that owns meta. More...

 
Glib::RefPtr< const Actorget_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 Public Member Functions inherited from Clutter::ActorMeta
static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system. More...

 

Protected Member Functions

 Constraint ()
 
- Protected Member Functions inherited from Clutter::ActorMeta
 ActorMeta ()
 
virtual void set_actor_vfunc (const Glib::RefPtr< const Actor >& actor)
 
Glib::PropertyProxy_ReadOnly

< Glib::RefPtr< Actor > > 
property_actor () const
 The actor attached to the meta. More...

 
Glib::PropertyProxy< bool > property_enabled ()
 Whether the meta is enabled. More...

 
Glib::PropertyProxy_ReadOnly

< bool > 
property_enabled () const
 Whether the meta is enabled. More...

 
Glib::PropertyProxy

< Glib::ustring
property_name ()
 The name of the meta. More...

 
Glib::PropertyProxy_ReadOnly

< Glib::ustring
property_name () const
 The name of the meta. More...

 

Related Functions

(Note that these are not member functions.)

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

 

Detailed Description

Constraint is a base abstract class for modifiers of an Actor position or size.

A Constraint sub-class should contain the logic for modifying the position or size of the Actor to which it is applied, by updating the actor's allocation. Each Constraint can change the allocation of the actor to which they are applied by overriding the Constraint::update_allocation_vfunc() virtual function.

Since cluttermm 1.4:

Constructor & Destructor Documentation

virtual Clutter::Constraint::~Constraint ( )
virtual
Clutter::Constraint::Constraint ( )
protected

Member Function Documentation

static GType Clutter::Constraint::get_type ( )
static

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

ClutterConstraint* Clutter::Constraint::gobj ( )
inline

Provides access to the underlying C GObject.

const ClutterConstraint* Clutter::Constraint::gobj ( ) const
inline

Provides access to the underlying C GObject.

ClutterConstraint* Clutter::Constraint::gobj_copy ( )

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Friends And Related Function Documentation

Glib::RefPtr< Clutter::Constraint > wrap ( ClutterConstraint *  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/constraint.h