clutter-gtkmm: Clutter::Gtk::Actor Class Reference

Actor for embedding a Widget in a Clutter stage. More...

Inherits Actor.

Public Member Functions

virtual ~Actor ()
 
GtkClutterActor* gobj ()
 Provides access to the underlying C GObject. More...

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

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

 
::Gtk::Widget* get_contents ()
 
const ::Gtk::Widget* get_contents () const
 
::Gtk::Widget* get_widget ()
 
const ::Gtk::Widget* get_widget () const
 
Glib::PropertyProxy

< ::Gtk::Widget* > 
property_contents ()
 The widget to be embedded. More...

 
Glib::PropertyProxy_ReadOnly

< ::Gtk::Widget* > 
property_contents () const
 The widget to be embedded. 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< Actorcreate ()
 
static Glib::RefPtr< Actorcreate (::Gtk::Widget& contents)
 

Protected Member Functions

 Actor ()
 
 Actor (::Gtk::Widget& contents)
 

Related Functions

(Note that these are not member functions.)

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

 

Detailed Description

Actor for embedding a Widget in a Clutter stage.

Clutter::Gtk::Actor is a Clutter::Container that also allows embedding any Gtk::Widget in a Clutter scenegraph.

Clutter::Gtk::Actor only allows embedding Gtk::Widgets when inside the Clutter::Stage provided by a Clutter::Gtk::Embed: it is not possible to use Clutter::Gtk::Actor in a Clutter::Stage handled by Clutter alone.

Constructor & Destructor Documentation

virtual Clutter::Gtk::Actor::~Actor ( )
virtual
Clutter::Gtk::Actor::Actor ( )
protected
Clutter::Gtk::Actor::Actor ( ::Gtk::Widget &  contents)
explicitprotected

Member Function Documentation

static Glib::RefPtr<Actor> Clutter::Gtk::Actor::create ( )
static
static Glib::RefPtr<Actor> Clutter::Gtk::Actor::create ( ::Gtk::Widget &  contents)
static
::Gtk::Widget* Clutter::Gtk::Actor::get_contents ( )
const ::Gtk::Widget* Clutter::Gtk::Actor::get_contents ( ) const
static GType Clutter::Gtk::Actor::get_type ( )
static

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

::Gtk::Widget* Clutter::Gtk::Actor::get_widget ( )
const ::Gtk::Widget* Clutter::Gtk::Actor::get_widget ( ) const
GtkClutterActor* Clutter::Gtk::Actor::gobj ( )
inline

Provides access to the underlying C GObject.

const GtkClutterActor* Clutter::Gtk::Actor::gobj ( ) const
inline

Provides access to the underlying C GObject.

GtkClutterActor* Clutter::Gtk::Actor::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< ::Gtk::Widget* > Clutter::Gtk::Actor::property_contents ( )

The widget to be embedded.

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< ::Gtk::Widget* > Clutter::Gtk::Actor::property_contents ( ) const

The widget to be embedded.

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.

Friends And Related Function Documentation

Glib::RefPtr< Clutter::Gtk::Actor > wrap ( GtkClutterActor *  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:
  • clutter-gtkmm/actor.h