|
| virtual | ~Content () |
| |
| ClutterContent* | gobj () |
| | Provides access to the underlying C GObject. More...
|
| |
| const ClutterContent* | gobj () const |
| | Provides access to the underlying C GObject. More...
|
| |
| bool | get_preferred_size (float& width, float& height) const |
| | Retrieves the natural size of the content, if any. More...
|
| |
|
| static void | add_interface (GType gtype_implementer) |
| |
| static GType | get_type () |
| | Get the GType for this class, for use with the underlying GObject type system. More...
|
| |
| Clutter::Content::Content |
( |
) | |
|
|
protected |
You should derive from this class to use it.
| virtual Clutter::Content::~Content |
( |
) | |
|
|
virtual |
| static void Clutter::Content::add_interface |
( |
GType |
gtype_implementer) | |
|
|
static |
| bool Clutter::Content::get_preferred_size |
( |
float & |
width, |
|
|
float & |
height |
|
) |
| const |
Retrieves the natural size of the content, if any.
The natural size of a Clutter::Content is defined as the size the content would have regardless of the allocation of the actor that is painting it, for instance the size of an image data.
- Since cluttermm 1.10:
- Parameters
-
| width | Return location for the natural width of the content. |
| height | Return location for the natural height of the content. |
- Returns
true if the content has a preferred size, and false otherwise.
| virtual bool Clutter::Content::get_preferred_size_vfunc |
( |
float & |
width, |
|
|
float & |
height |
|
) |
| const |
|
protectedvirtual |
| static GType Clutter::Content::get_type |
( |
) | |
|
|
static |
Get the GType for this class, for use with the underlying GObject type system.
| ClutterContent* Clutter::Content::gobj |
( |
) | |
|
|
inline |
Provides access to the underlying C GObject.
| const ClutterContent* Clutter::Content::gobj |
( |
) | |
const |
|
inline |
Provides access to the underlying C GObject.
| void Clutter::Content::invalidate |
( |
) | |
|
|
protected |
| virtual void Clutter::Content::invalidate_vfunc |
( |
) | |
|
|
protectedvirtual |
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: