Interface
ClutterContent
Prerequisite
In order to implement Content, your type must inherit from
GObject
.
Instance methods
clutter_content_get_preferred_size
Retrieves the natural size of the content
, if any.
Available since: 1.10
clutter_content_invalidate_size
Signals that content
‘s size changed. Attached actors with request mode
set to CLUTTER_REQUEST_CONTENT_SIZE
will have a relayout queued.
Signals
Clutter.Content::attached
This signal is emitted each time a ClutterContent
implementation is
assigned to a ClutterActor
.
Available since: 1.10
Clutter.Content::detached
This signal is emitted each time a ClutterContent
implementation is
removed from a ClutterActor
.
Available since: 1.10
Interface structure
struct ClutterContentInterface {
gboolean (* get_preferred_size) (
ClutterContent* content,
gfloat* width,
gfloat* height
);
void (* paint_content) (
ClutterContent* content,
ClutterActor* actor,
ClutterPaintNode* node,
ClutterPaintContext* paint_context
);
void (* attached) (
ClutterContent* content,
ClutterActor* actor
);
void (* detached) (
ClutterContent* content,
ClutterActor* actor
);
void (* invalidate) (
ClutterContent* content
);
void (* invalidate_size) (
ClutterContent* content
);
}
Interface members
get_preferred_size |
|
No description available. | |
paint_content |
|
No description available. | |
attached |
|
No description available. | |
detached |
|
No description available. | |
invalidate |
|
No description available. | |
invalidate_size |
|
No description available. |
Virtual methods
Clutter.Content.attached
No description available.
Clutter.Content.detached
No description available.
Clutter.Content.get_preferred_size
Retrieves the natural size of the content
, if any.
Clutter.Content.invalidate
Invalidates a ClutterContent
.
Clutter.Content.invalidate_size
Signals that content
‘s size changed. Attached actors with request mode
set to CLUTTER_REQUEST_CONTENT_SIZE
will have a relayout queued.
Clutter.Content.paint_content
No description available.