Clutter::Scriptable Class Reference

#include <scriptable.h>

Inheritance diagram for Clutter::Scriptable:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~Scriptable ()
ClutterScriptable * gobj ()
 Provides access to the underlying C GObject.
const ClutterScriptable * gobj () const
 Provides access to the underlying C GObject.
void set_id (const std::string &id)
 Sets id as the unique Clutter script it for this instance of Clutter::ScriptableIface.
std::string get_id () const
 Retrieves the id of scriptable set using set_id().

Static Public Member Functions

static void add_interface (GType gtype_implementer)

Protected Member Functions

virtual void set_id_vfunc (const std::string &id)
virtual std::string get_id_vfunc () const

Related Functions

(Note that these are not member functions.)

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


Constructor & Destructor Documentation

virtual Clutter::Scriptable::~Scriptable (  )  [virtual]


Member Function Documentation

static void Clutter::Scriptable::add_interface ( GType  gtype_implementer  )  [static]

ClutterScriptable* Clutter::Scriptable::gobj (  )  [inline]

const ClutterScriptable* Clutter::Scriptable::gobj (  )  const [inline]

void Clutter::Scriptable::set_id ( const std::string &  id  ) 

Sets id as the unique Clutter script it for this instance of Clutter::ScriptableIface.

This name can be used by user interface designer applications to define a unique name for an object constructable using the UI definition language parsed by Clutter::Script.

Since: 0.6

Parameters:
id The Clutter::Script id of the object.

std::string Clutter::Scriptable::get_id (  )  const

Retrieves the id of scriptable set using set_id().

Returns:
The id of the object. The returned string is owned by the scriptable object and should never be modified of freed
Since: 0.6.

virtual void Clutter::Scriptable::set_id_vfunc ( const std::string &  id  )  [protected, virtual]

virtual std::string Clutter::Scriptable::get_id_vfunc (  )  const [protected, virtual]


Friends And Related Function Documentation

Glib::RefPtr< Clutter::Scriptable > wrap ( ClutterScriptable *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated on Fri Jun 6 02:16:48 2008 for cluttermm by  doxygen 1.5.5