docs: Update missing documentation

This commit is contained in:
Emmanuele Bassi 2011-06-13 13:27:46 +01:00
parent 8625f07c3b
commit 4f0769d69d
4 changed files with 41 additions and 5 deletions

View File

@ -12347,13 +12347,19 @@ clutter_actor_get_paint_box (ClutterActor *self,
* clutter_actor_has_overlaps: * clutter_actor_has_overlaps:
* @self: A #ClutterActor * @self: A #ClutterActor
* *
* Return value: whether the actor may contain overlapping * Asks the actor's implementation whether it may contain overlapping
* primitives. Clutter uses this to determine whether the painting * primitives.
* should be redirected to an offscreen buffer to correctly implement *
* the opacity property. Custom actors can override this by * Clutter uses this to determine whether the painting should be redirected
* implementing the has_overlaps virtual. See * to an offscreen buffer to correctly implement the opacity property.
*
* Custom actors can override the default response by implementing the
* #ClutterActor <function>has_overlaps</function> virtual function. See
* clutter_actor_set_offscreen_redirect() for more information. * clutter_actor_set_offscreen_redirect() for more information.
* *
* Return value: %TRUE if the actor may have overlapping primitives, and
* %FALSE otherwise
*
* Since: 1.8 * Since: 1.8
*/ */
gboolean gboolean

View File

@ -260,6 +260,15 @@ clutter_backend_class_init (ClutterBackendClass *klass)
g_type_class_add_private (gobject_class, sizeof (ClutterBackendPrivate)); g_type_class_add_private (gobject_class, sizeof (ClutterBackendPrivate));
/**
* ClutterBackend::resolution-changed:
* @backend: the #ClutterBackend that emitted the signal
*
* The ::resolution-changed signal is emitted each time the font
* resolutions has been changed through #ClutterSettings.
*
* Since: 1.0
*/
backend_signals[RESOLUTION_CHANGED] = backend_signals[RESOLUTION_CHANGED] =
g_signal_new (I_("resolution-changed"), g_signal_new (I_("resolution-changed"),
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
@ -269,6 +278,15 @@ clutter_backend_class_init (ClutterBackendClass *klass)
_clutter_marshal_VOID__VOID, _clutter_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/**
* ClutterBackend::font-changed:
* @backend: the #ClutterBackend that emitted the signal
*
* The ::font-changed signal is emitted each time the font options
* have been changed through #ClutterSettings.
*
* Since: 1.0
*/
backend_signals[FONT_CHANGED] = backend_signals[FONT_CHANGED] =
g_signal_new (I_("font-changed"), g_signal_new (I_("font-changed"),
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
@ -278,6 +296,15 @@ clutter_backend_class_init (ClutterBackendClass *klass)
_clutter_marshal_VOID__VOID, _clutter_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/**
* ClutterBackend::settings-changed:
* @backend: the #ClutterBackend that emitted the signal
*
* The ::settings-changed signal is emitted each time the #ClutterSettings
* properties have been changed.
*
* Since: 1.4
*/
backend_signals[SETTINGS_CHANGED] = backend_signals[SETTINGS_CHANGED] =
g_signal_new (I_("settings-changed"), g_signal_new (I_("settings-changed"),
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),

View File

@ -1342,6 +1342,7 @@ clutter_script_list_objects (ClutterScript *script)
* @script: a #ClutterScript * @script: a #ClutterScript
* @name: (allow-none): a name for the @state, or %NULL to * @name: (allow-none): a name for the @state, or %NULL to
* set the default #ClutterState * set the default #ClutterState
* @state: a #ClutterState
* *
* Associates a #ClutterState to the #ClutterScript instance using the given * Associates a #ClutterState to the #ClutterScript instance using the given
* name. * name.

View File

@ -1383,6 +1383,8 @@ clutter_script_list_objects
ClutterScriptConnectFunc ClutterScriptConnectFunc
clutter_script_connect_signals clutter_script_connect_signals
clutter_script_connect_signals_full clutter_script_connect_signals_full
clutter_script_add_states
clutter_script_get_states
<SUBSECTION> <SUBSECTION>
clutter_script_get_type_from_name clutter_script_get_type_from_name