GInitiallyUnownedClass parent_class;
/*< public >*/
- void (* show) (ClutterActor *actor);
- void (* show_all) (ClutterActor *actor);
- void (* hide) (ClutterActor *actor);
- void (* hide_all) (ClutterActor *actor);
- void (* realize) (ClutterActor *actor);
- void (* unrealize) (ClutterActor *actor);
- void (* map) (ClutterActor *actor);
- void (* unmap) (ClutterActor *actor);
- void (* paint) (ClutterActor *actor);
+ void (* show) (ClutterActor *self);
+ void (* show_all) (ClutterActor *self);
+ void (* hide) (ClutterActor *self);
+ void (* hide_all) (ClutterActor *self);
+ void (* realize) (ClutterActor *self);
+ void (* unrealize) (ClutterActor *self);
+ void (* map) (ClutterActor *self);
+ void (* unmap) (ClutterActor *self);
+ void (* paint) (ClutterActor *self);
void (* parent_set) (ClutterActor *actor,
ClutterActor *old_parent);
ClutterActor *leaf_that_queued);
/* size negotiation */
- void (* get_preferred_width) (ClutterActor *actor,
+ void (* get_preferred_width) (ClutterActor *self,
gfloat for_height,
gfloat *min_width_p,
gfloat *natural_width_p);
- void (* get_preferred_height) (ClutterActor *actor,
+ void (* get_preferred_height) (ClutterActor *self,
gfloat for_width,
gfloat *min_height_p,
gfloat *natural_height_p);
- void (* allocate) (ClutterActor *actor,
+ void (* allocate) (ClutterActor *self,
const ClutterActorBox *box,
ClutterAllocationFlags flags);
void (* queue_relayout) (ClutterActor *actor);
/* accessibility support */
- AtkObject * (* get_accessible) (ClutterActor *actor);
+ AtkObject * (* get_accessible) (ClutterActor *self);
gboolean (* get_paint_volume) (ClutterActor *actor,
ClutterPaintVolume *volume);
}
/**
- * clutter_container_add:
+ * clutter_container_add: (skip)
* @container: a #ClutterContainer
* @first_actor: the first #ClutterActor to add
* @Varargs: %NULL terminated list of actors to add
* @container. You cannot add a #ClutterActor to more than one
* #ClutterContainer.
*
+ * Virtual: add
+ *
* Since: 0.4
*/
void
}
/**
- * clutter_container_add_valist:
+ * clutter_container_add_valist: (skip)
* @container: a #ClutterContainer
* @first_actor: the first #ClutterActor to add
* @var_args: list of actors to add, followed by %NULL
}
/**
- * clutter_container_remove:
+ * clutter_container_remove: (skip)
* @container: a #ClutterContainer
* @first_actor: first #ClutterActor to remove
* @Varargs: a %NULL-terminated list of actors to remove
* yourself, using g_object_ref(). When the actor has been removed,
* the "actor-removed" signal is emitted by @container.
*
+ * Virtual: remove
+ *
* Since: 0.4
*/
void
}
/**
- * clutter_container_remove_valist:
+ * clutter_container_remove_valist: (skip)
* @container: a #ClutterContainer
* @first_actor: the first #ClutterActor to add
* @var_args: list of actors to remove, followed by %NULL
*
* Raises @actor to @sibling level, in the depth ordering.
*
+ * Virtual: raise
+ *
* Since: 0.6
*/
void
*
* Lowers @actor to @sibling level, in the depth ordering.
*
+ * Virtual: lower
+ *
* Since: 0.6
*/
void
/*< private >*/
GObjectClass parent_class;
- const GSList * (* get_devices) (ClutterDeviceManager *manager);
- ClutterInputDevice *(* get_core_device) (ClutterDeviceManager *manager,
- ClutterInputDeviceType type);
- ClutterInputDevice *(* get_device) (ClutterDeviceManager *manager,
- gint id);
+ const GSList * (* get_devices) (ClutterDeviceManager *device_manager);
+ ClutterInputDevice *(* get_core_device) (ClutterDeviceManager *device_manager,
+ ClutterInputDeviceType device_type);
+ ClutterInputDevice *(* get_device) (ClutterDeviceManager *device_manager,
+ gint device_id);
void (* add_device) (ClutterDeviceManager *manager,
ClutterInputDevice *device);
void (* get_preferred_width) (ClutterLayoutManager *manager,
ClutterContainer *container,
gfloat for_height,
- gfloat *minimum_width_p,
- gfloat *natural_width_p);
+ gfloat *min_width_p,
+ gfloat *nat_width_p);
void (* get_preferred_height) (ClutterLayoutManager *manager,
ClutterContainer *container,
gfloat for_width,
- gfloat *minimum_height_p,
- gfloat *natural_height_p);
+ gfloat *min_height_p,
+ gfloat *nat_height_p);
void (* allocate) (ClutterLayoutManager *manager,
ClutterContainer *container,
const ClutterActorBox *allocation,
/*< public >*/
CoglHandle (* create_texture) (ClutterOffscreenEffect *effect,
- gfloat min_width,
- gfloat min_height);
- void (* paint_target) (ClutterOffscreenEffect *effect);
+ gfloat width,
+ gfloat height);
+ void (* paint_target) (ClutterOffscreenEffect *effect);
/*< private >*/
void (* _clutter_offscreen1) (void);
/*< public >*/
void (* set_id) (ClutterScriptable *scriptable,
- const gchar *name);
+ const gchar *id);
const gchar *(* get_id) (ClutterScriptable *scriptable);
gboolean (* parse_custom_node) (ClutterScriptable *scriptable,
*
* Retrieves the pointer to the default display.
*
- * Return value: the default display
+ * Return value: (transfer none): the default display
*
* Since: 0.6
*/
*
* Since: 0.8
*
- * Return value: a pointer to the internal list of input devices; the
- * returned list is owned by Clutter and should not be modified or
- * freed
+ * Return value: (transfer none) (element-type Clutter.InputDevice): a
+ * pointer to the internal list of input devices; the returned list is
+ * owned by Clutter and should not be modified or freed
*/
G_CONST_RETURN GSList *
clutter_x11_get_input_devices (void)
* Retrieves the <structname>XVisualInfo</structname> used by the Clutter X11
* backend.
*
- * Return value: a <structname>XVisualInfo</structname>, or
+ * Return value: (transfer full): a <structname>XVisualInfo</structname>, or
* <varname>None</varname>. The returned value should be freed using XFree()
* when done
*
*
* Gets the stage for a particular X window.
*
- * Return value: The stage or NULL if a stage does not exist for the window.
+ * Return value: (transfer none): A #ClutterStage, or% NULL if a stage
+ * does not exist for the window
*
* Since: 0.8
*/
* along the lines of clutter_backend_x11_get_foreign_visual () or perhaps
* clutter_stage_x11_get_foreign_visual ()
*
- * Return value: An XVisualInfo suitable for creating a foreign stage. Use
- * XFree() to free the returned value instead
+ * Return value: (transfer full): An XVisualInfo suitable for creating a
+ * foreign stage. Use XFree() to free the returned value instead
*
* Deprecated: 1.2: Use clutter_x11_get_visual_info() instead
*