2006-12-13 Emmanuele Bassi <ebassi@openedhand.com>

* clutter-sections.txt: Update.

	* tmpl/*.sgml: Update the templates.
This commit is contained in:
Emmanuele Bassi 2006-12-13 18:11:50 +00:00
parent 77f421a294
commit 2231c939d0
14 changed files with 156 additions and 121 deletions

View File

@ -1,3 +1,9 @@
2006-12-13 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-sections.txt: Update.
* tmpl/*.sgml: Update the templates.
2006-12-04 Emmanuele Bassi <ebassi@openedhand.com> 2006-12-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-sections.txt: Update with the newly added API. * clutter-sections.txt: Update with the newly added API.

View File

@ -1,6 +1,5 @@
<SECTION> <SECTION>
<FILE>clutter-media</FILE> <FILE>clutter-media</FILE>
CLUTTER_MEDIA_GET_INTERFACE
ClutterMedia ClutterMedia
ClutterMediaInterface ClutterMediaInterface
clutter_media_set_uri clutter_media_set_uri
@ -19,6 +18,7 @@ clutter_media_set_filename
CLUTTER_MEDIA CLUTTER_MEDIA
CLUTTER_IS_MEDIA CLUTTER_IS_MEDIA
CLUTTER_TYPE_MEDIA CLUTTER_TYPE_MEDIA
CLUTTER_MEDIA_GET_INTERFACE
<SUBSECTION Private> <SUBSECTION Private>
clutter_media_get_type clutter_media_get_type
</SECTION> </SECTION>
@ -124,6 +124,8 @@ clutter_alpha_get_type
ClutterCloneTexture ClutterCloneTexture
ClutterCloneTextureClass ClutterCloneTextureClass
clutter_clone_texture_new clutter_clone_texture_new
clutter_clone_texture_get_parent_texture
clutter_clone_texture_set_parent_texture
<SUBSECTION Standard> <SUBSECTION Standard>
CLUTTER_CLONE_TEXTURE CLUTTER_CLONE_TEXTURE
CLUTTER_IS_CLONE_TEXTURE CLUTTER_IS_CLONE_TEXTURE
@ -193,8 +195,6 @@ clutter_rectangle_get_type
<SECTION> <SECTION>
<FILE>clutter-actor</FILE> <FILE>clutter-actor</FILE>
CLUTTER_TYPE_GEOMETRY
CLUTTER_TYPE_ACTOR_BOX
CLUTTER_ACTOR_SET_FLAGS CLUTTER_ACTOR_SET_FLAGS
CLUTTER_ACTOR_UNSET_FLAGS CLUTTER_ACTOR_UNSET_FLAGS
CLUTTER_ACTOR_IS_MAPPED CLUTTER_ACTOR_IS_MAPPED
@ -209,7 +209,9 @@ ClutterCallback
ClutterActor ClutterActor
ClutterActorClass ClutterActorClass
clutter_actor_show clutter_actor_show
clutter_actor_show_all
clutter_actor_hide clutter_actor_hide
clutter_actor_hide_all
clutter_actor_realize clutter_actor_realize
clutter_actor_unrealize clutter_actor_unrealize
clutter_actor_paint clutter_actor_paint
@ -256,6 +258,8 @@ clutter_actor_get_scalex
clutter_actor_get_scale clutter_actor_get_scale
clutter_actor_get_abs_size clutter_actor_get_abs_size
<SUBSECTION Standard> <SUBSECTION Standard>
CLUTTER_TYPE_GEOMETRY
CLUTTER_TYPE_ACTOR_BOX
CLUTTER_ACTOR CLUTTER_ACTOR
CLUTTER_IS_ACTOR CLUTTER_IS_ACTOR
CLUTTER_TYPE_ACTOR CLUTTER_TYPE_ACTOR
@ -360,7 +364,6 @@ clutter_timeline_get_type
<SECTION> <SECTION>
<FILE>clutter-behaviour-path</FILE> <FILE>clutter-behaviour-path</FILE>
<TITLE>ClutterBehaviourPath</TITLE> <TITLE>ClutterBehaviourPath</TITLE>
CLUTTER_TYPE_KNOT
ClutterKnot ClutterKnot
clutter_knot_copy clutter_knot_copy
clutter_knot_free clutter_knot_free
@ -375,6 +378,7 @@ clutter_behaviour_path_insert_knot
clutter_behaviour_path_remove_knot clutter_behaviour_path_remove_knot
clutter_behaviour_path_clear clutter_behaviour_path_clear
<SUBSECTION Standard> <SUBSECTION Standard>
CLUTTER_TYPE_KNOT
CLUTTER_BEHAVIOUR_PATH CLUTTER_BEHAVIOUR_PATH
CLUTTER_IS_BEHAVIOUR_PATH CLUTTER_IS_BEHAVIOUR_PATH
CLUTTER_TYPE_BEHAVIOUR_PATH CLUTTER_TYPE_BEHAVIOUR_PATH
@ -461,7 +465,6 @@ CLUTTER_FIXED_DIV
<SECTION> <SECTION>
<FILE>clutter-color</FILE> <FILE>clutter-color</FILE>
CLUTTER_TYPE_COLOR
ClutterColor ClutterColor
clutter_color_parse clutter_color_parse
clutter_color_add clutter_color_add
@ -473,6 +476,8 @@ clutter_color_to_hls
clutter_color_from_hls clutter_color_from_hls
clutter_color_to_pixel clutter_color_to_pixel
clutter_color_from_pixel clutter_color_from_pixel
<SUBSECTION Standard>
CLUTTER_TYPE_COLOR
<SUBSECTION Private> <SUBSECTION Private>
clutter_color_get_type clutter_color_get_type
</SECTION> </SECTION>
@ -480,7 +485,6 @@ clutter_color_get_type
<SECTION> <SECTION>
<FILE>clutter-event</FILE> <FILE>clutter-event</FILE>
ClutterEventType ClutterEventType
CLUTTER_TYPE_EVENT
ClutterAnyEvent ClutterAnyEvent
ClutterKeyEvent ClutterKeyEvent
ClutterButtonEvent ClutterButtonEvent
@ -490,15 +494,19 @@ ClutterEvent
clutter_event_new clutter_event_new
clutter_event_copy clutter_event_copy
clutter_event_free clutter_event_free
clutter_event_type
clutter_key_event_type clutter_key_event_type
clutter_key_event_time clutter_key_event_time
clutter_key_event_state clutter_key_event_state
clutter_button_event_time
clutter_button_event_x clutter_button_event_x
clutter_button_event_y clutter_button_event_y
clutter_key_event_symbol clutter_key_event_symbol
clutter_key_event_code clutter_key_event_code
clutter_key_event_unicode clutter_key_event_unicode
clutter_keysym_to_unicode clutter_keysym_to_unicode
<SUBSECTION Standard>
CLUTTER_TYPE_EVENT
<SUBSECTION Private> <SUBSECTION Private>
clutter_event_get_type clutter_event_get_type
</SECTION> </SECTION>

View File

@ -17,114 +17,102 @@ ClutterActor
<!-- ##### SECTION Stability_Level ##### --> <!-- ##### SECTION Stability_Level ##### -->
<!-- ##### MACRO CLUTTER_TYPE_GEOMETRY ##### -->
<para>
</para>
<!-- ##### MACRO CLUTTER_TYPE_ACTOR_BOX ##### -->
<para>
</para>
<!-- ##### MACRO CLUTTER_ACTOR_SET_FLAGS ##### --> <!-- ##### MACRO CLUTTER_ACTOR_SET_FLAGS ##### -->
<para> <para>
Sets a flag from #ClutterActorFlags to an actor
</para> </para>
@e: @e: a #ClutterActor
@f: @f: the flag to set
<!-- ##### MACRO CLUTTER_ACTOR_UNSET_FLAGS ##### --> <!-- ##### MACRO CLUTTER_ACTOR_UNSET_FLAGS ##### -->
<para> <para>
Unsets a flag from #ClutterActorFlags to an actor
</para> </para>
@e: @e: a #ClutterActor
@f: @f: the flag to unset
<!-- ##### MACRO CLUTTER_ACTOR_IS_MAPPED ##### --> <!-- ##### MACRO CLUTTER_ACTOR_IS_MAPPED ##### -->
<para> <para>
Evaluates to %TRUE if an actor is mapped.
</para> </para>
@e: @e: a #ClutterActor
<!-- ##### MACRO CLUTTER_ACTOR_IS_REALIZED ##### --> <!-- ##### MACRO CLUTTER_ACTOR_IS_REALIZED ##### -->
<para> <para>
Evaluates to %TRUE if an actor has been realized.
</para> </para>
@e: @e: a #ClutterActor
<!-- ##### MACRO CLUTTER_ACTOR_IS_VISIBLE ##### --> <!-- ##### MACRO CLUTTER_ACTOR_IS_VISIBLE ##### -->
<para> <para>
Evaluates to %TRUE if an actor is visible.
</para> </para>
@e: @e: a #ClutterActor
<!-- ##### STRUCT ClutterActorBox ##### --> <!-- ##### STRUCT ClutterActorBox ##### -->
<para> <para>
Coordinates (top-left to bottom-right) of a box surrounding an actor.
</para> </para>
@x1: @x1: X coordinate of the top left corner of the box
@y1: @y1: Y coordinate of the top left corner of the box
@x2: @x2: X coordinate of the bottom right corner of the box
@y2: @y2: Y coordinate of the bottom right corner of the box
<!-- ##### ENUM ClutterActorFlags ##### --> <!-- ##### ENUM ClutterActorFlags ##### -->
<para> <para>
Flags used by an actor.
</para> </para>
@CLUTTER_ACTOR_MAPPED: @CLUTTER_ACTOR_MAPPED: the actor is mapped
@CLUTTER_ACTOR_REALIZED: @CLUTTER_ACTOR_REALIZED: the actor is realised
<!-- ##### STRUCT ClutterGeometry ##### --> <!-- ##### STRUCT ClutterGeometry ##### -->
<para> <para>
Positional and dimensional coordinates of an actor.
</para> </para>
@x: @x: X coordinate of the top left corner of an actor
@y: @y: Y coordinate of the top left corner of an actor
@width: @width: width of an actor
@height: @height: height of an actor
<!-- ##### MACRO CLUTTER_CALLBACK ##### --> <!-- ##### MACRO CLUTTER_CALLBACK ##### -->
<para> <para>
Casts a generic callback function into a #ClutterCallback
</para> </para>
@f: @f: a function pointer
<!-- ##### USER_FUNCTION ClutterCallback ##### --> <!-- ##### USER_FUNCTION ClutterCallback ##### -->
<para> <para>
Generic callback function.
</para> </para>
@actor: @actor: a #ClutterActor
@data: @data: optional data to be passed to the function
<!-- ##### STRUCT ClutterActor ##### --> <!-- ##### STRUCT ClutterActor ##### -->
<para> <para>
Basic element of the Clutter canvas. Every object present on the stage must
be an actor. You can scale, move and rotate an actor; you can group actors
inside #ClutterGroup<!-- -->s or let them follow a #ClutterBehaviour.
</para> </para>
@parent_instance: @parent_instance: parent class
@flags: @flags: flags set for the actor
<!-- ##### SIGNAL ClutterActor::destroy ##### --> <!-- ##### SIGNAL ClutterActor::destroy ##### -->
<para> <para>
@ -202,10 +190,10 @@ ClutterActor
<!-- ##### STRUCT ClutterActorClass ##### --> <!-- ##### STRUCT ClutterActorClass ##### -->
<para> <para>
Base class for #ClutterActor
</para> </para>
@parent_class: @parent_class: parent class
@show: @show:
@show_all: @show_all:
@hide: @hide:
@ -235,6 +223,14 @@ ClutterActor
@self: @self:
<!-- ##### FUNCTION clutter_actor_show_all ##### -->
<para>
</para>
@self:
<!-- ##### FUNCTION clutter_actor_hide ##### --> <!-- ##### FUNCTION clutter_actor_hide ##### -->
<para> <para>
@ -243,6 +239,14 @@ ClutterActor
@self: @self:
<!-- ##### FUNCTION clutter_actor_hide_all ##### -->
<para>
</para>
@self:
<!-- ##### FUNCTION clutter_actor_realize ##### --> <!-- ##### FUNCTION clutter_actor_realize ##### -->
<para> <para>

View File

@ -77,19 +77,21 @@ accessed directly.
<!-- ##### MACRO CLUTTER_ALPHA_MAX_ALPHA ##### --> <!-- ##### MACRO CLUTTER_ALPHA_MAX_ALPHA ##### -->
<para> <para>
Maximum value of the alpha function. You should use this value to
scale the computed alpha value.
</para> </para>
<!-- ##### USER_FUNCTION ClutterAlphaFunc ##### --> <!-- ##### USER_FUNCTION ClutterAlphaFunc ##### -->
<para> <para>
The alpha function is a function of time. You should provide a function
transforming the current position in the timeline.
</para> </para>
@alpha: @alpha: a #ClutterAlpha
@user_data: @user_data: optional user defined data passed to the function
@Returns: @Returns: a value between 0 and CLUTTER_ALPHA_MAX_ALPHA
<!-- ##### FUNCTION clutter_alpha_set_func ##### --> <!-- ##### FUNCTION clutter_alpha_set_func ##### -->
@ -123,7 +125,7 @@ accessed directly.
<!-- ##### MACRO CLUTTER_ALPHA_RAMP_INC ##### --> <!-- ##### MACRO CLUTTER_ALPHA_RAMP_INC ##### -->
<para> <para>
Symbolic name for passing clutter_ramp_inc_func().
</para> </para>
@ -140,7 +142,7 @@ accessed directly.
<!-- ##### MACRO CLUTTER_ALPHA_RAMP_DEC ##### --> <!-- ##### MACRO CLUTTER_ALPHA_RAMP_DEC ##### -->
<para> <para>
Symbolic name for passing clutter_ramp_dec_func().
</para> </para>
@ -157,7 +159,7 @@ accessed directly.
<!-- ##### MACRO CLUTTER_ALPHA_RAMP ##### --> <!-- ##### MACRO CLUTTER_ALPHA_RAMP ##### -->
<para> <para>
Symbolic name for passing clutter_ramp_func().
</para> </para>
@ -174,7 +176,7 @@ accessed directly.
<!-- ##### MACRO CLUTTER_ALPHA_SINE ##### --> <!-- ##### MACRO CLUTTER_ALPHA_SINE ##### -->
<para> <para>
Symbolic name for passing clutter_sine_func().
</para> </para>

View File

@ -19,7 +19,8 @@ ClutterBehaviourOpacity
<!-- ##### STRUCT ClutterBehaviourOpacity ##### --> <!-- ##### STRUCT ClutterBehaviourOpacity ##### -->
<para> <para>
The <structname>ClutterBehaviourOpacity</structname> struct has only
private data and should not be accessed directly.
</para> </para>
@ -35,7 +36,7 @@ ClutterBehaviourOpacity
<!-- ##### STRUCT ClutterBehaviourOpacityClass ##### --> <!-- ##### STRUCT ClutterBehaviourOpacityClass ##### -->
<para> <para>
Class structure for #ClutterBehaviourOpacity.
</para> </para>
@parent_class: @parent_class:

View File

@ -17,20 +17,13 @@ ClutterBehaviourPath
<!-- ##### SECTION Stability_Level ##### --> <!-- ##### SECTION Stability_Level ##### -->
<!-- ##### MACRO CLUTTER_TYPE_KNOT ##### -->
<para>
</para>
<!-- ##### STRUCT ClutterKnot ##### --> <!-- ##### STRUCT ClutterKnot ##### -->
<para> <para>
A single node of the path followed by a #ClutterBehaviourPath.
</para> </para>
@x: @x: X coordinate of the node
@y: @y: Y coordinate of the node
<!-- ##### FUNCTION clutter_knot_copy ##### --> <!-- ##### FUNCTION clutter_knot_copy ##### -->
<para> <para>
@ -61,7 +54,8 @@ ClutterBehaviourPath
<!-- ##### STRUCT ClutterBehaviourPath ##### --> <!-- ##### STRUCT ClutterBehaviourPath ##### -->
<para> <para>
The <structname>ClutterBehaviourPath</structname> structure contains
only private data, and should not be accessed directly.
</para> </para>
@ -80,7 +74,7 @@ ClutterBehaviourPath
<!-- ##### STRUCT ClutterBehaviourPathClass ##### --> <!-- ##### STRUCT ClutterBehaviourPathClass ##### -->
<para> <para>
Class structure for #ClutterBehaviourPath.
</para> </para>
@parent_class: @parent_class:

View File

@ -19,7 +19,7 @@ ClutterBehaviourScale
<!-- ##### ENUM ClutterGravity ##### --> <!-- ##### ENUM ClutterGravity ##### -->
<para> <para>
Defines the reference point of the scaling.
</para> </para>
@CLUTTER_GRAVITY_NONE: @CLUTTER_GRAVITY_NONE:
@ -31,11 +31,12 @@ ClutterBehaviourScale
@CLUTTER_GRAVITY_SOUTH_WEST: @CLUTTER_GRAVITY_SOUTH_WEST:
@CLUTTER_GRAVITY_WEST: @CLUTTER_GRAVITY_WEST:
@CLUTTER_GRAVITY_NORTH_WEST: @CLUTTER_GRAVITY_NORTH_WEST:
@CLUTTER_GRAVITY_CENTER: @CLUTTER_GRAVITY_CENTER: the actor should scale from the center
<!-- ##### STRUCT ClutterBehaviourScale ##### --> <!-- ##### STRUCT ClutterBehaviourScale ##### -->
<para> <para>
The <structname>ClutterBehaviourScale</structname> structure contains only
private data and should not be accessed directly.
</para> </para>
@ -56,7 +57,7 @@ ClutterBehaviourScale
<!-- ##### STRUCT ClutterBehaviourScaleClass ##### --> <!-- ##### STRUCT ClutterBehaviourScaleClass ##### -->
<para> <para>
Class structure for #ClutterBehaviourScale.
</para> </para>
@parent_class: @parent_class:

View File

@ -30,11 +30,15 @@ ClutterBehaviour
<!-- ##### STRUCT ClutterBehaviourClass ##### --> <!-- ##### STRUCT ClutterBehaviourClass ##### -->
<para> <para>
Class structure.
</para> </para>
@parent_class: @parent_class: parent class
@alpha_notify: @alpha_notify: Override this virtual function when creating a new behaviour.
The alpha notify virtual function is called each time the alpha value
computed by the #ClutterAlpha object changes; in this virtual function
you should update the properties driven by your behaviour for all the
actors to which the behaviour applies.
@_clutter_behaviour1: @_clutter_behaviour1:
@_clutter_behaviour2: @_clutter_behaviour2:
@_clutter_behaviour3: @_clutter_behaviour3:
@ -62,12 +66,13 @@ ClutterBehaviour
<!-- ##### USER_FUNCTION ClutterBehaviourForeachFunc ##### --> <!-- ##### USER_FUNCTION ClutterBehaviourForeachFunc ##### -->
<para> <para>
The function used to iterate on every #ClutterActor to which a behaviour
applies.
</para> </para>
@behaviour: @behaviour: a #ClutterBehaviour
@actor: @actor: a #ClutterActor
@data: @data: optional user data passed to this function
<!-- ##### FUNCTION clutter_behaviour_actors_foreach ##### --> <!-- ##### FUNCTION clutter_behaviour_actors_foreach ##### -->

View File

@ -48,3 +48,21 @@ ClutterCloneTexture
@Returns: @Returns:
<!-- ##### FUNCTION clutter_clone_texture_get_parent_texture ##### -->
<para>
</para>
@clone:
@Returns:
<!-- ##### FUNCTION clutter_clone_texture_set_parent_texture ##### -->
<para>
</para>
@clone:
@texture:

View File

@ -17,13 +17,6 @@ clutter-color
<!-- ##### SECTION Stability_Level ##### --> <!-- ##### SECTION Stability_Level ##### -->
<!-- ##### MACRO CLUTTER_TYPE_COLOR ##### -->
<para>
</para>
<!-- ##### STRUCT ClutterColor ##### --> <!-- ##### STRUCT ClutterColor ##### -->
<para> <para>

View File

@ -30,13 +30,6 @@ Windowing events handled by Clutter.
@CLUTTER_2BUTTON_PRESS: @CLUTTER_2BUTTON_PRESS:
@CLUTTER_BUTTON_RELEASE: @CLUTTER_BUTTON_RELEASE:
<!-- ##### MACRO CLUTTER_TYPE_EVENT ##### -->
<para>
</para>
<!-- ##### STRUCT ClutterAnyEvent ##### --> <!-- ##### STRUCT ClutterAnyEvent ##### -->
<para> <para>
@ -120,6 +113,15 @@ Windowing events handled by Clutter.
@event: @event:
<!-- ##### FUNCTION clutter_event_type ##### -->
<para>
</para>
@event:
@Returns:
<!-- ##### FUNCTION clutter_key_event_time ##### --> <!-- ##### FUNCTION clutter_key_event_time ##### -->
<para> <para>
@ -138,6 +140,15 @@ Windowing events handled by Clutter.
@Returns: @Returns:
<!-- ##### FUNCTION clutter_button_event_time ##### -->
<para>
</para>
@buttev:
@Returns:
<!-- ##### FUNCTION clutter_button_event_x ##### --> <!-- ##### FUNCTION clutter_button_event_x ##### -->
<para> <para>

View File

@ -19,22 +19,22 @@ clutter-main
<!-- ##### MACRO CLUTTER_INIT_ERROR ##### --> <!-- ##### MACRO CLUTTER_INIT_ERROR ##### -->
<para> <para>
GError domain for the #ClutterInitError enum.
</para> </para>
<!-- ##### ENUM ClutterInitError ##### --> <!-- ##### ENUM ClutterInitError ##### -->
<para> <para>
Error codes for the Clutter initialisation process.
</para> </para>
@CLUTTER_INIT_SUCCESS: @CLUTTER_INIT_SUCCESS: Clutter was successfully initialised
@CLUTTER_INIT_ERROR_UNKOWN: @CLUTTER_INIT_ERROR_UNKOWN: Unknown error while initialising Clutter
@CLUTTER_INIT_ERROR_THREADS: @CLUTTER_INIT_ERROR_THREADS: Unable to initialise threading
@CLUTTER_INIT_ERROR_DISPLAY: @CLUTTER_INIT_ERROR_DISPLAY: Unable to open the X display
@CLUTTER_INIT_ERROR_INTERNAL: @CLUTTER_INIT_ERROR_INTERNAL: Internal Clutter error
@CLUTTER_INIT_ERROR_OPENGL: @CLUTTER_INIT_ERROR_OPENGL: Unable to initialise OpenGL
<!-- ##### FUNCTION clutter_init ##### --> <!-- ##### FUNCTION clutter_init ##### -->
<para> <para>

View File

@ -17,14 +17,6 @@ clutter-media
<!-- ##### SECTION Stability_Level ##### --> <!-- ##### SECTION Stability_Level ##### -->
<!-- ##### MACRO CLUTTER_MEDIA_GET_INTERFACE ##### -->
<para>
</para>
@obj:
<!-- ##### STRUCT ClutterMedia ##### --> <!-- ##### STRUCT ClutterMedia ##### -->
<para> <para>

View File

@ -19,14 +19,14 @@ ClutterStage
<!-- ##### MACRO CLUTTER_STAGE_WIDTH ##### --> <!-- ##### MACRO CLUTTER_STAGE_WIDTH ##### -->
<para> <para>
Macro evaluating to the width of the #ClutterStage
</para> </para>
<!-- ##### MACRO CLUTTER_STAGE_HEIGHT ##### --> <!-- ##### MACRO CLUTTER_STAGE_HEIGHT ##### -->
<para> <para>
Macro evaluating to the height of the #ClutterStage
</para> </para>