mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
Mark property strings for translation
Both the nick and the blurb fields should be translatable, for UI builders and other introspection-based tools.
This commit is contained in:
parent
8be43b5285
commit
fd27ca7398
@ -157,8 +157,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_object ("actor",
|
||||
"Actor",
|
||||
"The actor attached to the meta",
|
||||
P_("Actor"),
|
||||
P_("The actor attached to the meta"),
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_ACTOR, pspec);
|
||||
@ -171,8 +171,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_string ("name",
|
||||
"Name",
|
||||
"The name of the meta",
|
||||
P_("Name"),
|
||||
P_("The name of the meta"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_NAME, pspec);
|
||||
@ -185,8 +185,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("enabled",
|
||||
"Enabled",
|
||||
"Whether the meta is enabled",
|
||||
P_("Enabled"),
|
||||
P_("Whether the meta is enabled"),
|
||||
TRUE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_ENABLED, pspec);
|
||||
|
@ -3483,8 +3483,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* otherwise the allocation if available, otherwise 0.
|
||||
*/
|
||||
pspec = g_param_spec_float ("x",
|
||||
"X coordinate",
|
||||
"X coordinate of the actor",
|
||||
P_("X coordinate"),
|
||||
P_("X coordinate of the actor"),
|
||||
-G_MAXFLOAT, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3498,8 +3498,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* any, otherwise the allocation if available, otherwise 0.
|
||||
*/
|
||||
pspec = g_param_spec_float ("y",
|
||||
"Y coordinate",
|
||||
"Y coordinate of the actor",
|
||||
P_("Y coordinate"),
|
||||
P_("Y coordinate of the actor"),
|
||||
-G_MAXFLOAT, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3513,8 +3513,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* the allocated width if available, otherwise the width request.
|
||||
*/
|
||||
pspec = g_param_spec_float ("width",
|
||||
"Width",
|
||||
"Width of the actor",
|
||||
P_("Width"),
|
||||
P_("Width of the actor"),
|
||||
0.0, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3527,8 +3527,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* the allocated height if available, otherwise the height request.
|
||||
*/
|
||||
pspec = g_param_spec_float ("height",
|
||||
"Height",
|
||||
"Height of the actor",
|
||||
P_("Height"),
|
||||
P_("Height of the actor"),
|
||||
0.0, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3545,8 +3545,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_float ("fixed-x",
|
||||
"Fixed X",
|
||||
"Forced X position of the actor",
|
||||
P_("Fixed X"),
|
||||
P_("Forced X position of the actor"),
|
||||
-G_MAXFLOAT, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3563,8 +3563,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_float ("fixed-y",
|
||||
"Fixed Y",
|
||||
"Forced Y position of the actor",
|
||||
P_("Fixed Y"),
|
||||
P_("Forced Y position of the actor"),
|
||||
-G_MAXFLOAT, G_MAXFLOAT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3579,9 +3579,9 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("fixed-position-set",
|
||||
"Fixed position set",
|
||||
"Whether to use fixed positioning "
|
||||
"for the actor",
|
||||
P_("Fixed position set"),
|
||||
P_("Whether to use fixed positioning "
|
||||
"for the actor"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class,
|
||||
@ -3601,8 +3601,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_float ("min-width",
|
||||
"Min Width",
|
||||
"Forced minimum width request for the actor",
|
||||
P_("Min Width"),
|
||||
P_("Forced minimum width request for the actor"),
|
||||
0.0, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3620,8 +3620,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_float ("min-height",
|
||||
"Min Height",
|
||||
"Forced minimum height request for the actor",
|
||||
P_("Min Height"),
|
||||
P_("Forced minimum height request for the actor"),
|
||||
0.0, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3639,8 +3639,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_float ("natural-width",
|
||||
"Natural Width",
|
||||
"Forced natural width request for the actor",
|
||||
P_("Natural Width"),
|
||||
P_("Forced natural width request for the actor"),
|
||||
0.0, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3658,8 +3658,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_float ("natural-height",
|
||||
"Natural Height",
|
||||
"Forced natural height request for the actor",
|
||||
P_("Natural Height"),
|
||||
P_("Forced natural height request for the actor"),
|
||||
0.0, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3674,8 +3674,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("min-width-set",
|
||||
"Minimum width set",
|
||||
"Whether to use the min-width property",
|
||||
P_("Minimum width set"),
|
||||
P_("Whether to use the min-width property"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_MIN_WIDTH_SET, pspec);
|
||||
@ -3689,8 +3689,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("min-height-set",
|
||||
"Minimum height set",
|
||||
"Whether to use the min-height property",
|
||||
P_("Minimum height set"),
|
||||
P_("Whether to use the min-height property"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_MIN_HEIGHT_SET, pspec);
|
||||
@ -3704,8 +3704,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("natural-width-set",
|
||||
"Natural width set",
|
||||
"Whether to use the natural-width property",
|
||||
P_("Natural width set"),
|
||||
P_("Whether to use the natural-width property"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class,
|
||||
@ -3721,8 +3721,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("natural-height-set",
|
||||
"Natural height set",
|
||||
"Whether to use the natural-height property",
|
||||
P_("Natural height set"),
|
||||
P_("Whether to use the natural-height property"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class,
|
||||
@ -3740,8 +3740,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("allocation",
|
||||
"Allocation",
|
||||
"The actor's allocation",
|
||||
P_("Allocation"),
|
||||
P_("The actor's allocation"),
|
||||
CLUTTER_TYPE_ACTOR_BOX,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (object_class, PROP_ALLOCATION, pspec);
|
||||
@ -3796,8 +3796,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_enum ("request-mode",
|
||||
"Request Mode",
|
||||
"The actor's request mode",
|
||||
P_("Request Mode"),
|
||||
P_("The actor's request mode"),
|
||||
CLUTTER_TYPE_REQUEST_MODE,
|
||||
CLUTTER_REQUEST_HEIGHT_FOR_WIDTH,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3811,8 +3811,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_float ("depth",
|
||||
"Depth",
|
||||
"Position on the Z axis",
|
||||
P_("Depth"),
|
||||
P_("Position on the Z axis"),
|
||||
-G_MAXFLOAT, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3825,8 +3825,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* 255 (fully opaque)
|
||||
*/
|
||||
pspec = g_param_spec_uint ("opacity",
|
||||
"Opacity",
|
||||
"Opacity of an actor",
|
||||
P_("Opacity"),
|
||||
P_("Opacity of an actor"),
|
||||
0, 255,
|
||||
255,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3840,8 +3840,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* See also #ClutterActor:mapped
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("visible",
|
||||
"Visible",
|
||||
"Whether the actor is visible or not",
|
||||
P_("Visible"),
|
||||
P_("Whether the actor is visible or not"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_VISIBLE, pspec);
|
||||
@ -3855,8 +3855,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("mapped",
|
||||
"Mapped",
|
||||
"Whether the actor will be painted",
|
||||
P_("Mapped"),
|
||||
P_("Whether the actor will be painted"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (object_class, PROP_MAPPED, pspec);
|
||||
@ -3869,8 +3869,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("realized",
|
||||
"Realized",
|
||||
"Whether the actor has been realized",
|
||||
P_("Realized"),
|
||||
P_("Whether the actor has been realized"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (object_class, PROP_REALIZED, pspec);
|
||||
@ -3885,8 +3885,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("reactive",
|
||||
"Reactive",
|
||||
"Whether the actor is reactive to events",
|
||||
P_("Reactive"),
|
||||
P_("Whether the actor is reactive to events"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_REACTIVE, pspec);
|
||||
@ -3897,8 +3897,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Whether the actor has the #ClutterActor:clip property set or not
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("has-clip",
|
||||
"Has Clip",
|
||||
"Whether the actor has a clip set",
|
||||
P_("Has Clip"),
|
||||
P_("Whether the actor has a clip set"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (object_class, PROP_HAS_CLIP, pspec);
|
||||
@ -3912,8 +3912,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* painted
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("clip",
|
||||
"Clip",
|
||||
"The clip region for the actor",
|
||||
P_("Clip"),
|
||||
P_("The clip region for the actor"),
|
||||
CLUTTER_TYPE_GEOMETRY,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_CLIP, pspec);
|
||||
@ -3926,8 +3926,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.2
|
||||
*/
|
||||
pspec = g_param_spec_string ("name",
|
||||
"Name",
|
||||
"Name of the actor",
|
||||
P_("Name"),
|
||||
P_("Name of the actor"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_NAME, pspec);
|
||||
@ -3940,8 +3940,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_double ("scale-x",
|
||||
"Scale X",
|
||||
"Scale factor on the X axis",
|
||||
P_("Scale X"),
|
||||
P_("Scale factor on the X axis"),
|
||||
0.0, G_MAXDOUBLE,
|
||||
1.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3955,8 +3955,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_double ("scale-y",
|
||||
"Scale Y",
|
||||
"Scale factor on the Y axis",
|
||||
P_("Scale Y"),
|
||||
P_("Scale factor on the Y axis"),
|
||||
0.0, G_MAXDOUBLE,
|
||||
1.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3970,8 +3970,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_float ("scale-center-x",
|
||||
"Scale-Center-X",
|
||||
"Horizontal scale center",
|
||||
P_("Scale Center X"),
|
||||
P_("Horizontal scale center"),
|
||||
-G_MAXFLOAT, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -3985,8 +3985,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_float ("scale-center-y",
|
||||
"Scale-Center-Y",
|
||||
"Vertical scale center",
|
||||
P_("Scale Center Y"),
|
||||
P_("Vertical scale center"),
|
||||
-G_MAXFLOAT, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -4000,8 +4000,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_enum ("scale-gravity",
|
||||
"Scale-Gravity",
|
||||
"The center of scaling",
|
||||
P_("Scale Gravity"),
|
||||
P_("The center of scaling"),
|
||||
CLUTTER_TYPE_GRAVITY,
|
||||
CLUTTER_GRAVITY_NONE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -4017,8 +4017,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_double ("rotation-angle-x",
|
||||
"Rotation Angle X",
|
||||
"The rotation angle on the X axis",
|
||||
P_("Rotation Angle X"),
|
||||
P_("The rotation angle on the X axis"),
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -4032,8 +4032,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_double ("rotation-angle-y",
|
||||
"Rotation Angle Y",
|
||||
"The rotation angle on the Y axis",
|
||||
P_("Rotation Angle Y"),
|
||||
P_("The rotation angle on the Y axis"),
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -4047,8 +4047,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_double ("rotation-angle-z",
|
||||
"Rotation Angle Z",
|
||||
"The rotation angle on the Z axis",
|
||||
P_("Rotation Angle Z"),
|
||||
P_("The rotation angle on the Z axis"),
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -4062,8 +4062,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("rotation-center-x",
|
||||
"Rotation Center X",
|
||||
"The rotation center on the X axis",
|
||||
P_("Rotation Center X"),
|
||||
P_("The rotation center on the X axis"),
|
||||
CLUTTER_TYPE_VERTEX,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class,
|
||||
@ -4078,8 +4078,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("rotation-center-y",
|
||||
"Rotation Center Y",
|
||||
"The rotation center on the Y axis",
|
||||
P_("Rotation Center Y"),
|
||||
P_("The rotation center on the Y axis"),
|
||||
CLUTTER_TYPE_VERTEX,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class,
|
||||
@ -4094,8 +4094,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("rotation-center-z",
|
||||
"Rotation Center Z",
|
||||
"The rotation center on the Z axis",
|
||||
P_("Rotation Center Z"),
|
||||
P_("The rotation center on the Z axis"),
|
||||
CLUTTER_TYPE_VERTEX,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class,
|
||||
@ -4110,8 +4110,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_enum ("rotation-center-z-gravity",
|
||||
"Rotation-Center-Z-Gravity",
|
||||
"Center point for rotation around the Z axis",
|
||||
P_("Rotation Center Z Gravity"),
|
||||
P_("Center point for rotation around the Z axis"),
|
||||
CLUTTER_TYPE_GRAVITY,
|
||||
CLUTTER_GRAVITY_NONE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -4128,8 +4128,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_float ("anchor-x",
|
||||
"Anchor X",
|
||||
"X coordinate of the anchor point",
|
||||
P_("Anchor X"),
|
||||
P_("X coordinate of the anchor point"),
|
||||
-G_MAXFLOAT, G_MAXFLOAT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -4144,8 +4144,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_float ("anchor-y",
|
||||
"Anchor Y",
|
||||
"Y coordinate of the anchor point",
|
||||
P_("Anchor Y"),
|
||||
P_("Y coordinate of the anchor point"),
|
||||
-G_MAXFLOAT, G_MAXFLOAT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -4159,8 +4159,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_enum ("anchor-gravity",
|
||||
"Anchor-Gravity",
|
||||
"The anchor point as a ClutterGravity",
|
||||
P_("Anchor Gravity"),
|
||||
P_("The anchor point as a ClutterGravity"),
|
||||
CLUTTER_TYPE_GRAVITY,
|
||||
CLUTTER_GRAVITY_NONE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -4178,8 +4178,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("show-on-set-parent",
|
||||
"Show on set parent",
|
||||
"Whether the actor is shown when parented",
|
||||
P_("Show on set parent"),
|
||||
P_("Whether the actor is shown when parented"),
|
||||
TRUE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class,
|
||||
@ -4198,9 +4198,9 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("clip-to-allocation",
|
||||
"Clip to Allocation",
|
||||
"Sets the clip region to track the "
|
||||
"actor's allocation",
|
||||
P_("Clip to Allocation"),
|
||||
P_("Sets the clip region to track the "
|
||||
"actor's allocation"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class,
|
||||
@ -4208,8 +4208,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
pspec);
|
||||
|
||||
pspec = g_param_spec_enum ("text-direction",
|
||||
"Text Direction",
|
||||
"Direction of the text",
|
||||
P_("Text Direction"),
|
||||
P_("Direction of the text"),
|
||||
CLUTTER_TYPE_TEXT_DIRECTION,
|
||||
CLUTTER_TEXT_DIRECTION_LTR,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -4226,9 +4226,9 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("has-pointer",
|
||||
"Has Pointer",
|
||||
"Whether the actor contains the pointer "
|
||||
"of an input device",
|
||||
P_("Has Pointer"),
|
||||
P_("Whether the actor contains the pointer "
|
||||
"of an input device"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (object_class,
|
||||
@ -4243,8 +4243,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_object ("actions",
|
||||
"Actions",
|
||||
"Adds an action to the actor",
|
||||
P_("Actions"),
|
||||
P_("Adds an action to the actor"),
|
||||
CLUTTER_TYPE_ACTION,
|
||||
CLUTTER_PARAM_WRITABLE);
|
||||
g_object_class_install_property (object_class, PROP_ACTIONS, pspec);
|
||||
@ -4257,8 +4257,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_object ("constraints",
|
||||
"Constraints",
|
||||
"Adds a constraint to the actor",
|
||||
P_("Constraints"),
|
||||
P_("Adds a constraint to the actor"),
|
||||
CLUTTER_TYPE_CONSTRAINT,
|
||||
CLUTTER_PARAM_WRITABLE);
|
||||
g_object_class_install_property (object_class, PROP_CONSTRAINTS, pspec);
|
||||
|
@ -206,8 +206,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_object ("source",
|
||||
"Source",
|
||||
"The source of the alignment",
|
||||
P_("Source"),
|
||||
P_("The source of the alignment"),
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT);
|
||||
@ -221,8 +221,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_enum ("align-axis",
|
||||
"Align Axis",
|
||||
"The axis to align the position to",
|
||||
P_("Align Axis"),
|
||||
P_("The axis to align the position to"),
|
||||
CLUTTER_TYPE_ALIGN_AXIS,
|
||||
CLUTTER_ALIGN_X_AXIS,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
@ -242,8 +242,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_float ("factor",
|
||||
"Factor",
|
||||
"The alignment factor, between 0.0 and 1.0",
|
||||
P_("Factor"),
|
||||
P_("The alignment factor, between 0.0 and 1.0"),
|
||||
0.0, 1.0,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
|
@ -332,8 +332,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
|
||||
* Since: 0.2
|
||||
*/
|
||||
pspec = g_param_spec_object ("timeline",
|
||||
"Timeline",
|
||||
"Timeline used by the alpha",
|
||||
P_("Timeline"),
|
||||
P_("Timeline used by the alpha"),
|
||||
CLUTTER_TYPE_TIMELINE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_TIMELINE, pspec);
|
||||
@ -348,8 +348,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
|
||||
* Since: 0.2
|
||||
*/
|
||||
pspec = g_param_spec_double ("alpha",
|
||||
"Alpha value",
|
||||
"Alpha value",
|
||||
P_("Alpha value"),
|
||||
P_("Alpha value as computed by the alpha"),
|
||||
-1.0, 2.0,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
@ -369,8 +369,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_ulong ("mode",
|
||||
"Mode",
|
||||
"Progress mode",
|
||||
P_("Mode"),
|
||||
P_("Progress mode"),
|
||||
0, G_MAXULONG,
|
||||
CLUTTER_CUSTOM_MODE,
|
||||
G_PARAM_CONSTRUCT | CLUTTER_PARAM_READWRITE);
|
||||
|
@ -458,8 +458,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_object ("object",
|
||||
"Object",
|
||||
"Object to which the animation applies",
|
||||
P_("Object"),
|
||||
P_("Object to which the animation applies"),
|
||||
G_TYPE_OBJECT,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_OBJECT, pspec);
|
||||
@ -474,8 +474,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_ulong ("mode",
|
||||
"Mode",
|
||||
"The mode of the animation",
|
||||
P_("Mode"),
|
||||
P_("The mode of the animation"),
|
||||
0, G_MAXULONG,
|
||||
CLUTTER_LINEAR,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -489,8 +489,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_uint ("duration",
|
||||
"Duration",
|
||||
"Duration of the animation, in milliseconds",
|
||||
P_("Duration"),
|
||||
P_("Duration of the animation, in milliseconds"),
|
||||
0, G_MAXUINT, 0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_DURATION, pspec);
|
||||
@ -503,8 +503,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("loop",
|
||||
"Loop",
|
||||
"Whether the animation should loop",
|
||||
P_("Loop"),
|
||||
P_("Whether the animation should loop"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_LOOP, pspec);
|
||||
@ -517,8 +517,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_object ("timeline",
|
||||
"Timeline",
|
||||
"The timeline used by the animation",
|
||||
P_("Timeline"),
|
||||
P_("The timeline used by the animation"),
|
||||
CLUTTER_TYPE_TIMELINE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec);
|
||||
@ -531,8 +531,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_object ("alpha",
|
||||
"Alpha",
|
||||
"The alpha used by the animation",
|
||||
P_("Alpha"),
|
||||
P_("The alpha used by the animation"),
|
||||
CLUTTER_TYPE_ALPHA,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_ALPHA, pspec);
|
||||
|
@ -1783,8 +1783,8 @@ clutter_animator_class_init (ClutterAnimatorClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_uint ("duration",
|
||||
"Duration",
|
||||
"The duration of the animation",
|
||||
P_("Duration"),
|
||||
P_("The duration of the animation"),
|
||||
0, G_MAXUINT,
|
||||
2000,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -1799,8 +1799,8 @@ clutter_animator_class_init (ClutterAnimatorClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_object ("timeline",
|
||||
"Timeline",
|
||||
"The timeline of the animation",
|
||||
P_("Timeline"),
|
||||
P_("The timeline of the animation"),
|
||||
CLUTTER_TYPE_TIMELINE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec);
|
||||
|
@ -167,8 +167,8 @@ clutter_behaviour_depth_class_init (ClutterBehaviourDepthClass *klass)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_DEPTH_START,
|
||||
g_param_spec_int ("depth-start",
|
||||
"Start Depth",
|
||||
"Initial depth to apply",
|
||||
P_("Start Depth"),
|
||||
P_("Initial depth to apply"),
|
||||
G_MININT, G_MAXINT, 0,
|
||||
CLUTTER_PARAM_READWRITE));
|
||||
/**
|
||||
@ -181,8 +181,8 @@ clutter_behaviour_depth_class_init (ClutterBehaviourDepthClass *klass)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_DEPTH_END,
|
||||
g_param_spec_int ("depth-end",
|
||||
"End Depth",
|
||||
"Final depth to apply",
|
||||
P_("End Depth"),
|
||||
P_("Final depth to apply"),
|
||||
G_MININT, G_MAXINT, 0,
|
||||
CLUTTER_PARAM_READWRITE));
|
||||
}
|
||||
|
@ -386,8 +386,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_double ("angle-start",
|
||||
"Start Angle",
|
||||
"Initial angle",
|
||||
P_("Start Angle"),
|
||||
P_("Initial angle"),
|
||||
0.0, 360.0,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -401,8 +401,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_double ("angle-end",
|
||||
"End Angle",
|
||||
"Final angle",
|
||||
P_("End Angle"),
|
||||
P_("Final angle"),
|
||||
0.0, 360.0,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -416,8 +416,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_double ("angle-tilt-x",
|
||||
"Angle x tilt",
|
||||
"Tilt of the ellipse around x axis",
|
||||
P_("Angle x tilt"),
|
||||
P_("Tilt of the ellipse around x axis"),
|
||||
0.0, 360.0,
|
||||
360.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -431,8 +431,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_double ("angle-tilt-y",
|
||||
"Angle y tilt",
|
||||
"Tilt of the ellipse around y axis",
|
||||
P_("Angle y tilt"),
|
||||
P_("Tilt of the ellipse around y axis"),
|
||||
0.0, 360.0,
|
||||
360.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -446,8 +446,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_double ("angle-tilt-z",
|
||||
"Angle z tilt",
|
||||
"Tilt of the ellipse around z axis",
|
||||
P_("Angle z tilt"),
|
||||
P_("Tilt of the ellipse around z axis"),
|
||||
0.0, 360.0,
|
||||
360.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -461,8 +461,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_int ("width",
|
||||
"Width",
|
||||
"Width of the ellipse",
|
||||
P_("Width"),
|
||||
P_("Width of the ellipse"),
|
||||
0, G_MAXINT,
|
||||
100,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -476,8 +476,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_int ("height",
|
||||
"Height",
|
||||
"Height of ellipse",
|
||||
P_("Height"),
|
||||
P_("Height of ellipse"),
|
||||
0, G_MAXINT,
|
||||
50,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -491,8 +491,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("center",
|
||||
"Center",
|
||||
"Center of ellipse",
|
||||
P_("Center"),
|
||||
P_("Center of ellipse"),
|
||||
CLUTTER_TYPE_KNOT,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_CENTER, pspec);
|
||||
@ -505,8 +505,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_enum ("direction",
|
||||
"Direction",
|
||||
"Direction of rotation",
|
||||
P_("Direction"),
|
||||
P_("Direction of rotation"),
|
||||
CLUTTER_TYPE_ROTATE_DIRECTION,
|
||||
CLUTTER_ROTATE_CW,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -177,8 +177,8 @@ clutter_behaviour_opacity_class_init (ClutterBehaviourOpacityClass *klass)
|
||||
* Since: 0.2
|
||||
*/
|
||||
pspec = g_param_spec_uint ("opacity-start",
|
||||
"Opacity Start",
|
||||
"Initial opacity level",
|
||||
P_("Opacity Start"),
|
||||
P_("Initial opacity level"),
|
||||
0, 255,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -192,8 +192,8 @@ clutter_behaviour_opacity_class_init (ClutterBehaviourOpacityClass *klass)
|
||||
* Since: 0.2
|
||||
*/
|
||||
pspec = g_param_spec_uint ("opacity-end",
|
||||
"Opacity End",
|
||||
"Final opacity level",
|
||||
P_("Opacity End"),
|
||||
P_("Final opacity level"),
|
||||
0, 255,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -210,9 +210,9 @@ clutter_behaviour_path_class_init (ClutterBehaviourPathClass *klass)
|
||||
gobject_class->dispose = clutter_behaviour_path_dispose;
|
||||
|
||||
pspec = g_param_spec_object ("path",
|
||||
"Path",
|
||||
"The ClutterPath object representing the path "
|
||||
"to animate along",
|
||||
P_("Path"),
|
||||
P_("The ClutterPath object representing the path "
|
||||
"to animate along"),
|
||||
CLUTTER_TYPE_PATH,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_PATH, pspec);
|
||||
|
@ -270,8 +270,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_double ("angle-start",
|
||||
"Angle Begin",
|
||||
"Initial angle",
|
||||
P_("Angle Begin"),
|
||||
P_("Initial angle"),
|
||||
0.0, 360.0,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -287,8 +287,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_double ("angle-end",
|
||||
"Angle End",
|
||||
"Final angle",
|
||||
P_("Angle End"),
|
||||
P_("Final angle"),
|
||||
0.0, 360.0,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -304,8 +304,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_enum ("axis",
|
||||
"Axis",
|
||||
"Axis of rotation",
|
||||
P_("Axis"),
|
||||
P_("Axis of rotation"),
|
||||
CLUTTER_TYPE_ROTATE_AXIS,
|
||||
CLUTTER_Z_AXIS,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -321,8 +321,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_enum ("direction",
|
||||
"Direction",
|
||||
"Direction of rotation",
|
||||
P_("Direction"),
|
||||
P_("Direction of rotation"),
|
||||
CLUTTER_TYPE_ROTATE_DIRECTION,
|
||||
CLUTTER_ROTATE_CW,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -338,8 +338,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_int ("center-x",
|
||||
"Center-X",
|
||||
"X center of rotation",
|
||||
P_("Center X"),
|
||||
P_("X coordinate of the center of rotation"),
|
||||
-G_MAXINT, G_MAXINT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -355,8 +355,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_int ("center-y",
|
||||
"Center-Y",
|
||||
"Y center of rotation",
|
||||
P_("Center Y"),
|
||||
P_("Y coordinate of the center of rotation"),
|
||||
-G_MAXINT, G_MAXINT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -372,8 +372,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_int ("center-z",
|
||||
"Center-Z",
|
||||
"Z center of rotation",
|
||||
P_("Center Z"),
|
||||
P_("Z coordinate of the center of rotation"),
|
||||
-G_MAXINT, G_MAXINT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -209,8 +209,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_double ("x-scale-start",
|
||||
"X Start Scale",
|
||||
"Initial scale on the X axis",
|
||||
P_("X Start Scale"),
|
||||
P_("Initial scale on the X axis"),
|
||||
0.0, G_MAXDOUBLE,
|
||||
1.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -225,8 +225,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_double ("x-scale-end",
|
||||
"X End Scale",
|
||||
"Final scale on the X axis",
|
||||
P_("X End Scale"),
|
||||
P_("Final scale on the X axis"),
|
||||
0.0, G_MAXDOUBLE,
|
||||
1.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -241,8 +241,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_double ("y-scale-start",
|
||||
"Y Start Scale",
|
||||
"Initial scale on the Y axis",
|
||||
P_("Y Start Scale"),
|
||||
P_("Initial scale on the Y axis"),
|
||||
0.0, G_MAXDOUBLE,
|
||||
1.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -257,8 +257,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_double ("y-scale-end",
|
||||
"Y End Scale",
|
||||
"Final scale on the Y axis",
|
||||
P_("Y End Scale"),
|
||||
P_("Final scale on the Y axis"),
|
||||
0.0, G_MAXDOUBLE,
|
||||
1.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -284,6 +284,7 @@ static void
|
||||
clutter_behaviour_class_init (ClutterBehaviourClass *klass)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
GParamSpec *pspec;
|
||||
|
||||
object_class->dispose = clutter_behaviour_dispose;
|
||||
object_class->set_property = clutter_behaviour_set_property;
|
||||
@ -299,13 +300,12 @@ clutter_behaviour_class_init (ClutterBehaviourClass *klass)
|
||||
*
|
||||
* Since: 0.2
|
||||
*/
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_ALPHA,
|
||||
g_param_spec_object ("alpha",
|
||||
"Alpha",
|
||||
"Alpha Object to drive the behaviour",
|
||||
CLUTTER_TYPE_ALPHA,
|
||||
CLUTTER_PARAM_READWRITE));
|
||||
pspec = g_param_spec_object ("alpha",
|
||||
P_("Alpha"),
|
||||
P_("Alpha Object to drive the behaviour"),
|
||||
CLUTTER_TYPE_ALPHA,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_ALPHA, pspec);
|
||||
|
||||
klass->alpha_notify = clutter_behaviour_alpha_notify_unimplemented;
|
||||
|
||||
|
@ -251,9 +251,9 @@ clutter_bin_layer_class_init (ClutterBinLayerClass *klass)
|
||||
gobject_class->get_property = clutter_bin_layer_get_property;
|
||||
|
||||
pspec = g_param_spec_enum ("x-align",
|
||||
"Horizontal Alignment",
|
||||
"Horizontal alignment for the actor "
|
||||
"inside the layer",
|
||||
P_("Horizontal Alignment"),
|
||||
P_("Horizontal alignment for the actor "
|
||||
"inside the layer"),
|
||||
CLUTTER_TYPE_BIN_ALIGNMENT,
|
||||
CLUTTER_BIN_ALIGNMENT_CENTER,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -262,9 +262,9 @@ clutter_bin_layer_class_init (ClutterBinLayerClass *klass)
|
||||
pspec);
|
||||
|
||||
pspec = g_param_spec_enum ("y-align",
|
||||
"Vertical Alignment",
|
||||
"Vertical alignment for the actor "
|
||||
"inside the layer manager",
|
||||
P_("Vertical Alignment"),
|
||||
P_("Vertical alignment for the actor "
|
||||
"inside the layer manager"),
|
||||
CLUTTER_TYPE_BIN_ALIGNMENT,
|
||||
CLUTTER_BIN_ALIGNMENT_CENTER,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -640,9 +640,9 @@ clutter_bin_layout_class_init (ClutterBinLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_enum ("x-align",
|
||||
"Horizontal Alignment",
|
||||
"Default horizontal alignment for the actors "
|
||||
"inside the layout manager",
|
||||
P_("Horizontal Alignment"),
|
||||
P_("Default horizontal alignment for the actors "
|
||||
"inside the layout manager"),
|
||||
CLUTTER_TYPE_BIN_ALIGNMENT,
|
||||
CLUTTER_BIN_ALIGNMENT_CENTER,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -657,9 +657,9 @@ clutter_bin_layout_class_init (ClutterBinLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_enum ("y-align",
|
||||
"Vertical Alignment",
|
||||
"Default vertical alignment for the actors "
|
||||
"inside the layout manager",
|
||||
P_("Vertical Alignment"),
|
||||
P_("Default vertical alignment for the actors "
|
||||
"inside the layout manager"),
|
||||
CLUTTER_TYPE_BIN_ALIGNMENT,
|
||||
CLUTTER_BIN_ALIGNMENT_CENTER,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -266,8 +266,8 @@ clutter_bind_constraint_class_init (ClutterBindConstraintClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_object ("source",
|
||||
"Source",
|
||||
"The source of the binding",
|
||||
P_("Source"),
|
||||
P_("The source of the binding"),
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT);
|
||||
@ -281,8 +281,8 @@ clutter_bind_constraint_class_init (ClutterBindConstraintClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_enum ("coordinate",
|
||||
"Coordinate",
|
||||
"The coordinate to bind",
|
||||
P_("Coordinate"),
|
||||
P_("The coordinate to bind"),
|
||||
CLUTTER_TYPE_BIND_COORDINATE,
|
||||
CLUTTER_BIND_X,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
@ -297,8 +297,8 @@ clutter_bind_constraint_class_init (ClutterBindConstraintClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_float ("offset",
|
||||
"Offset",
|
||||
"The offset in pixels to apply to the binding",
|
||||
P_("Offset"),
|
||||
P_("The offset in pixels to apply to the binding"),
|
||||
-G_MAXFLOAT, G_MAXFLOAT,
|
||||
0.0f,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
|
@ -313,8 +313,8 @@ clutter_binding_pool_class_init (ClutterBindingPoolClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_string ("name",
|
||||
"Name",
|
||||
"The unique name of the binding pool",
|
||||
P_("Name"),
|
||||
P_("The unique name of the binding pool"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
@ -381,43 +381,43 @@ clutter_box_child_class_init (ClutterBoxChildClass *klass)
|
||||
gobject_class->finalize = clutter_box_child_finalize;
|
||||
|
||||
pspec = g_param_spec_boolean ("expand",
|
||||
"Expand",
|
||||
"Allocate extra space for the child",
|
||||
P_("Expand"),
|
||||
P_("Allocate extra space for the child"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_CHILD_EXPAND, pspec);
|
||||
|
||||
pspec = g_param_spec_boolean ("x-fill",
|
||||
"Horizontal Fill",
|
||||
"Whether the child should receive priority "
|
||||
"when the container is allocating spare space "
|
||||
"on the horizontal axis",
|
||||
P_("Horizontal Fill"),
|
||||
P_("Whether the child should receive priority "
|
||||
"when the container is allocating spare space "
|
||||
"on the horizontal axis"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_CHILD_X_FILL, pspec);
|
||||
|
||||
pspec = g_param_spec_boolean ("y-fill",
|
||||
"Vertical Fill",
|
||||
"Whether the child should receive priority "
|
||||
"when the container is allocating spare space "
|
||||
"on the vertical axis",
|
||||
P_("Vertical Fill"),
|
||||
P_("Whether the child should receive priority "
|
||||
"when the container is allocating spare space "
|
||||
"on the vertical axis"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_CHILD_Y_FILL, pspec);
|
||||
|
||||
pspec = g_param_spec_enum ("x-align",
|
||||
"Horizontal Alignment",
|
||||
"Horizontal alignment of the actor within "
|
||||
"the cell",
|
||||
P_("Horizontal Alignment"),
|
||||
P_("Horizontal alignment of the actor within "
|
||||
"the cell"),
|
||||
CLUTTER_TYPE_BOX_ALIGNMENT,
|
||||
CLUTTER_BOX_ALIGNMENT_CENTER,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_CHILD_X_ALIGN, pspec);
|
||||
|
||||
pspec = g_param_spec_enum ("y-align",
|
||||
"Vertical Alignment",
|
||||
"Vertical alignment of the actor within "
|
||||
"the cell",
|
||||
P_("Vertical Alignment"),
|
||||
P_("Vertical alignment of the actor within "
|
||||
"the cell"),
|
||||
CLUTTER_TYPE_BOX_ALIGNMENT,
|
||||
CLUTTER_BOX_ALIGNMENT_CENTER,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -1160,9 +1160,9 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("vertical",
|
||||
"Vertical",
|
||||
"Whether the layout should be vertical, rather"
|
||||
"than horizontal",
|
||||
P_("Vertical"),
|
||||
P_("Whether the layout should be vertical, rather"
|
||||
"than horizontal"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_VERTICAL, pspec);
|
||||
@ -1176,9 +1176,9 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("homogeneous",
|
||||
"Homogeneous",
|
||||
"Whether the layout should be homogeneous, i.e."
|
||||
"all childs get the same size",
|
||||
P_("Homogeneous"),
|
||||
P_("Whether the layout should be homogeneous, i.e."
|
||||
"all childs get the same size"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_HOMOGENEOUS, pspec);
|
||||
@ -1192,8 +1192,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("pack-start",
|
||||
"Pack Start",
|
||||
"Whether to pack items at the start of the box",
|
||||
P_("Pack Start"),
|
||||
P_("Whether to pack items at the start of the box"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_PACK_START, pspec);
|
||||
@ -1206,8 +1206,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_uint ("spacing",
|
||||
"Spacing",
|
||||
"Spacing between children",
|
||||
P_("Spacing"),
|
||||
P_("Spacing between children"),
|
||||
0, G_MAXUINT, 0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_SPACING, pspec);
|
||||
@ -1221,8 +1221,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("use-animations",
|
||||
"Use Animations",
|
||||
"Whether layout changes should be animated",
|
||||
P_("Use Animations"),
|
||||
P_("Whether layout changes should be animated"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_USE_ANIMATIONS, pspec);
|
||||
@ -1243,8 +1243,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_ulong ("easing-mode",
|
||||
"Easing Mode",
|
||||
"The easing mode of the animations",
|
||||
P_("Easing Mode"),
|
||||
P_("The easing mode of the animations"),
|
||||
0, G_MAXULONG,
|
||||
CLUTTER_EASE_OUT_CUBIC,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -1261,8 +1261,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_uint ("easing-duration",
|
||||
"Easing Duration",
|
||||
"The duration of the animations",
|
||||
P_("Easing Duration"),
|
||||
P_("The duration of the animations"),
|
||||
0, G_MAXUINT,
|
||||
500,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -487,8 +487,8 @@ clutter_box_class_init (ClutterBoxClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_object ("layout-manager",
|
||||
"Layout Manager",
|
||||
"The layout manager used by the box",
|
||||
P_("Layout Manager"),
|
||||
P_("The layout manager used by the box"),
|
||||
CLUTTER_TYPE_LAYOUT_MANAGER,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT);
|
||||
@ -506,8 +506,8 @@ clutter_box_class_init (ClutterBoxClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = clutter_param_spec_color ("color",
|
||||
"Color",
|
||||
"The background color of the box",
|
||||
P_("Color"),
|
||||
P_("The background color of the box"),
|
||||
&default_box_color,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_COLOR, pspec);
|
||||
@ -520,8 +520,8 @@ clutter_box_class_init (ClutterBoxClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("color-set",
|
||||
"Color Set",
|
||||
"Whether the background color is set",
|
||||
P_("Color Set"),
|
||||
P_("Whether the background color is set"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_COLOR_SET, pspec);
|
||||
|
@ -390,8 +390,8 @@ clutter_cairo_texture_class_init (ClutterCairoTextureClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_uint ("surface-width",
|
||||
"Surface Width",
|
||||
"The width of the Cairo surface",
|
||||
P_("Surface Width"),
|
||||
P_("The width of the Cairo surface"),
|
||||
0, G_MAXUINT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -407,8 +407,8 @@ clutter_cairo_texture_class_init (ClutterCairoTextureClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_uint ("surface-height",
|
||||
"Surface-Height",
|
||||
"The height of the Cairo surface",
|
||||
P_("Surface Height"),
|
||||
P_("The height of the Cairo surface"),
|
||||
0, G_MAXUINT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -120,8 +120,8 @@ clutter_child_meta_class_init (ClutterChildMetaClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_object ("container",
|
||||
"Container",
|
||||
"The container that created this data",
|
||||
P_("Container"),
|
||||
P_("The container that created this data"),
|
||||
CLUTTER_TYPE_CONTAINER,
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -135,8 +135,8 @@ clutter_child_meta_class_init (ClutterChildMetaClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_object ("actor",
|
||||
"Actor",
|
||||
"The actor wrapped by this data",
|
||||
P_("Actor"),
|
||||
P_("The actor wrapped by this data"),
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -233,9 +233,8 @@ clutter_click_action_class_init (ClutterClickActionClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("pressed",
|
||||
"Pressed",
|
||||
"Whether the clickable should "
|
||||
"be in pressed state",
|
||||
P_("Pressed"),
|
||||
P_("Whether the clickable should be in pressed state"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_PRESSED, pspec);
|
||||
@ -248,8 +247,8 @@ clutter_click_action_class_init (ClutterClickActionClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("held",
|
||||
"Held",
|
||||
"Whether the clickable has a grab",
|
||||
P_("Held"),
|
||||
P_("Whether the clickable has a grab"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_HELD, pspec);
|
||||
|
@ -271,8 +271,8 @@ clutter_clone_class_init (ClutterCloneClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_object ("source",
|
||||
"Source",
|
||||
"Specifies the actor to be cloned",
|
||||
P_("Source"),
|
||||
P_("Specifies the actor to be cloned"),
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
G_PARAM_CONSTRUCT |
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -208,8 +208,8 @@ clutter_colorize_effect_class_init (ClutterColorizeEffectClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = clutter_param_spec_color ("tint",
|
||||
"Tint",
|
||||
"The tint to apply",
|
||||
P_("Tint"),
|
||||
P_("The tint to apply"),
|
||||
&default_tint,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_TINT, pspec);
|
||||
|
@ -518,8 +518,8 @@ clutter_deform_effect_class_init (ClutterDeformEffectClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_uint ("x-tiles",
|
||||
"Horiontal Tiles",
|
||||
"The number of horizontal tiles",
|
||||
P_("Horiontal Tiles"),
|
||||
P_("The number of horizontal tiles"),
|
||||
1, G_MAXUINT,
|
||||
DEFAULT_N_TILES,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -534,8 +534,8 @@ clutter_deform_effect_class_init (ClutterDeformEffectClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_uint ("y-tiles",
|
||||
"Vertical Tiles",
|
||||
"The number of vertical tiles",
|
||||
P_("Vertical Tiles"),
|
||||
P_("The number of vertical tiles"),
|
||||
1, G_MAXUINT,
|
||||
DEFAULT_N_TILES,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -552,9 +552,8 @@ clutter_deform_effect_class_init (ClutterDeformEffectClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("back-material",
|
||||
"Back Material",
|
||||
"The material to be used when painting the "
|
||||
"back of the actor",
|
||||
P_("Back Material"),
|
||||
P_("The material to be used when painting the back of the actor"),
|
||||
COGL_TYPE_HANDLE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_BACK_MATERIAL, pspec);
|
||||
|
@ -214,8 +214,8 @@ clutter_desaturate_effect_class_init (ClutterDesaturateEffectClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_double ("factor",
|
||||
"Factor",
|
||||
"The desaturation factor",
|
||||
P_("Factor"),
|
||||
P_("The desaturation factor"),
|
||||
0.0, 1.0,
|
||||
1.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -125,8 +125,8 @@ clutter_device_manager_class_init (ClutterDeviceManagerClass *klass)
|
||||
gobject_class->get_property = clutter_device_manager_get_property;
|
||||
|
||||
pspec = g_param_spec_object ("backend",
|
||||
"Backend",
|
||||
"The ClutterBackend of the device manager",
|
||||
P_("Backend"),
|
||||
P_("The ClutterBackend of the device manager"),
|
||||
CLUTTER_TYPE_BACKEND,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
@ -467,9 +467,8 @@ clutter_drag_action_class_init (ClutterDragActionClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_uint ("drag-threshold",
|
||||
"Drag Threshold",
|
||||
"The amount of pixels required to start "
|
||||
"dragging",
|
||||
P_("Drag Threshold"),
|
||||
P_("The amount of pixels required to start dragging"),
|
||||
0, G_MAXUINT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -490,8 +489,8 @@ clutter_drag_action_class_init (ClutterDragActionClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_object ("drag-handle",
|
||||
"Drag Handle",
|
||||
"The actor that is being dragged",
|
||||
P_("Drag Handle"),
|
||||
P_("The actor that is being dragged"),
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_DRAG_HANDLE, pspec);
|
||||
@ -504,8 +503,8 @@ clutter_drag_action_class_init (ClutterDragActionClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_enum ("drag-axis",
|
||||
"Drag Axis",
|
||||
"Constraints the dragging to an axis",
|
||||
P_("Drag Axis"),
|
||||
P_("Constraints the dragging to an axis"),
|
||||
CLUTTER_TYPE_DRAG_AXIS,
|
||||
CLUTTER_DRAG_AXIS_NONE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -858,8 +858,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_enum ("orientation",
|
||||
"Orientation",
|
||||
"The orientation of the layout",
|
||||
P_("Orientation"),
|
||||
P_("The orientation of the layout"),
|
||||
CLUTTER_TYPE_FLOW_ORIENTATION,
|
||||
CLUTTER_FLOW_HORIZONTAL,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
@ -875,9 +875,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("homogeneous",
|
||||
"Homogeneous",
|
||||
"Whether each item should receive the "
|
||||
"same allocation",
|
||||
P_("Homogeneous"),
|
||||
P_("Whether each item should receive the same allocation"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_HOMOGENEOUS, pspec);
|
||||
@ -892,8 +891,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_float ("column-spacing",
|
||||
"Column Spacing",
|
||||
"The spacing between columns",
|
||||
P_("Column Spacing"),
|
||||
P_("The spacing between columns"),
|
||||
0.0, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -911,8 +910,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_float ("row-spacing",
|
||||
"Row Spacing",
|
||||
"The spacing between rows",
|
||||
P_("Row Spacing"),
|
||||
P_("The spacing between rows"),
|
||||
0.0, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -928,8 +927,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_float ("min-column-width",
|
||||
"Minimum Column Width",
|
||||
"Minimum width for each column",
|
||||
P_("Minimum Column Width"),
|
||||
P_("Minimum width for each column"),
|
||||
0.0, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -946,8 +945,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_float ("max-column-width",
|
||||
"Maximum Column Width",
|
||||
"Maximum width for each column",
|
||||
P_("Maximum Column Width"),
|
||||
P_("Maximum width for each column"),
|
||||
-1.0, G_MAXFLOAT,
|
||||
-1.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -963,8 +962,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_float ("min-row-height",
|
||||
"Minimum Row Height",
|
||||
"Minimum height for each row",
|
||||
P_("Minimum Row Height"),
|
||||
P_("Minimum height for each row"),
|
||||
0.0, G_MAXFLOAT,
|
||||
0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -981,8 +980,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_float ("max-row-height",
|
||||
"Maximum Row Height",
|
||||
"Maximum height for each row",
|
||||
P_("Maximum Row Height"),
|
||||
P_("Maximum height for each row"),
|
||||
-1.0, G_MAXFLOAT,
|
||||
-1.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -124,8 +124,8 @@ clutter_input_device_class_init (ClutterInputDeviceClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_int ("id",
|
||||
"Id",
|
||||
"Unique identifier of the device",
|
||||
P_("Id"),
|
||||
P_("Unique identifier of the device"),
|
||||
-1, G_MAXINT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
@ -140,8 +140,8 @@ clutter_input_device_class_init (ClutterInputDeviceClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_string ("name",
|
||||
"Name",
|
||||
"The name of the device",
|
||||
P_("Name"),
|
||||
P_("The name of the device"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
@ -155,8 +155,8 @@ clutter_input_device_class_init (ClutterInputDeviceClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_enum ("device-type",
|
||||
"Device Type",
|
||||
"The type of the device",
|
||||
P_("Device Type"),
|
||||
P_("The type of the device"),
|
||||
CLUTTER_TYPE_INPUT_DEVICE_TYPE,
|
||||
CLUTTER_POINTER_DEVICE,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
|
@ -60,6 +60,7 @@
|
||||
#include "clutter-color.h"
|
||||
#include "clutter-fixed.h"
|
||||
#include "clutter-interval.h"
|
||||
#include "clutter-private.h"
|
||||
#include "clutter-units.h"
|
||||
|
||||
typedef struct
|
||||
@ -404,8 +405,8 @@ clutter_interval_class_init (ClutterIntervalClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_gtype ("value-type",
|
||||
"Value Type",
|
||||
"The type of the values in the interval",
|
||||
P_("Value Type"),
|
||||
P_("The type of the values in the interval"),
|
||||
G_TYPE_NONE,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
g_object_class_install_property (gobject_class, PROP_VALUE_TYPE, pspec);
|
||||
|
@ -110,8 +110,8 @@ clutter_layout_meta_class_init (ClutterLayoutMetaClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_object ("manager",
|
||||
"Manager",
|
||||
"The manager that created this data",
|
||||
P_("Manager"),
|
||||
P_("The manager that created this data"),
|
||||
CLUTTER_TYPE_LAYOUT_MANAGER,
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
@ -76,8 +76,8 @@ clutter_media_base_init (gpointer g_iface)
|
||||
* Since: 0.2
|
||||
*/
|
||||
pspec = g_param_spec_string ("uri",
|
||||
"URI",
|
||||
"URI of a media file",
|
||||
P_("URI"),
|
||||
P_("URI of a media file"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_interface_install_property (g_iface, pspec);
|
||||
@ -90,8 +90,8 @@ clutter_media_base_init (gpointer g_iface)
|
||||
* Since: 0.2
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("playing",
|
||||
"Playing",
|
||||
"Wheter the actor is playing",
|
||||
P_("Playing"),
|
||||
P_("Wheter the actor is playing"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_interface_install_property (g_iface, pspec);
|
||||
@ -105,8 +105,8 @@ clutter_media_base_init (gpointer g_iface)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_double ("progress",
|
||||
"Progress",
|
||||
"Current progress of the playback",
|
||||
P_("Progress"),
|
||||
P_("Current progress of the playback"),
|
||||
0.0, 1.0, 0.0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_interface_install_property (g_iface, pspec);
|
||||
@ -119,8 +119,8 @@ clutter_media_base_init (gpointer g_iface)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_string ("subtitle-uri",
|
||||
"Subtitle URI",
|
||||
"URI of a subtitle file",
|
||||
P_("Subtitle URI"),
|
||||
P_("URI of a subtitle file"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_interface_install_property (g_iface, pspec);
|
||||
@ -135,8 +135,8 @@ clutter_media_base_init (gpointer g_iface)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_string ("subtitle-font-name",
|
||||
"Subtitle Font Name",
|
||||
"The font used to display subtitles",
|
||||
P_("Subtitle Font Name"),
|
||||
P_("The font used to display subtitles"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_interface_install_property (g_iface, pspec);
|
||||
@ -150,8 +150,8 @@ clutter_media_base_init (gpointer g_iface)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_double ("audio-volume",
|
||||
"Audio Volume",
|
||||
"The volume of the audio",
|
||||
P_("Audio Volume"),
|
||||
P_("The volume of the audio"),
|
||||
0.0, 1.0, 0.5,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_interface_install_property (g_iface, pspec);
|
||||
@ -164,8 +164,8 @@ clutter_media_base_init (gpointer g_iface)
|
||||
* Since: 0.2
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("can-seek",
|
||||
"Can Seek",
|
||||
"Whether the current stream is seekable",
|
||||
P_("Can Seek"),
|
||||
P_("Whether the current stream is seekable"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_interface_install_property (g_iface, pspec);
|
||||
@ -179,8 +179,8 @@ clutter_media_base_init (gpointer g_iface)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_double ("buffer-fill",
|
||||
"Buffer Fill",
|
||||
"The fill level of the buffer",
|
||||
P_("Buffer Fill"),
|
||||
P_("The fill level of the buffer"),
|
||||
0.0, 1.0, 0.0,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_interface_install_property (g_iface, pspec);
|
||||
@ -193,8 +193,8 @@ clutter_media_base_init (gpointer g_iface)
|
||||
* Since: 0.2
|
||||
*/
|
||||
pspec = g_param_spec_double ("duration",
|
||||
"Duration",
|
||||
"The duration of the stream, in seconds",
|
||||
P_("Duration"),
|
||||
P_("The duration of the stream, in seconds"),
|
||||
0, G_MAXDOUBLE, 0,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_interface_install_property (g_iface, pspec);
|
||||
|
@ -244,8 +244,8 @@ clutter_rectangle_class_init (ClutterRectangleClass *klass)
|
||||
* The color of the rectangle.
|
||||
*/
|
||||
pspec = clutter_param_spec_color ("color",
|
||||
"Color",
|
||||
"The color of the rectangle",
|
||||
P_("Color"),
|
||||
P_("The color of the rectangle"),
|
||||
&default_color,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_COLOR, pspec);
|
||||
@ -258,8 +258,8 @@ clutter_rectangle_class_init (ClutterRectangleClass *klass)
|
||||
* Since: 0.2
|
||||
*/
|
||||
pspec = clutter_param_spec_color ("border-color",
|
||||
"Border Color",
|
||||
"The color of the border of the rectangle",
|
||||
P_("Border Color"),
|
||||
P_("The color of the border of the rectangle"),
|
||||
&default_border_color,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_BORDER_COLOR, pspec);
|
||||
@ -274,8 +274,8 @@ clutter_rectangle_class_init (ClutterRectangleClass *klass)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_BORDER_WIDTH,
|
||||
g_param_spec_uint ("border-width",
|
||||
"Border Width",
|
||||
"The width of the border of the rectangle",
|
||||
P_("Border Width"),
|
||||
P_("The width of the border of the rectangle"),
|
||||
0, G_MAXUINT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE));
|
||||
@ -289,8 +289,8 @@ clutter_rectangle_class_init (ClutterRectangleClass *klass)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_HAS_BORDER,
|
||||
g_param_spec_boolean ("has-border",
|
||||
"Has Border",
|
||||
"Whether the rectangle should have a border",
|
||||
P_("Has Border"),
|
||||
P_("Whether the rectangle should have a border"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE));
|
||||
|
||||
|
@ -397,8 +397,8 @@ clutter_script_class_init (ClutterScriptClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("filename-set",
|
||||
"Filename Set",
|
||||
"Whether the :filename property is set",
|
||||
P_("Filename Set"),
|
||||
P_("Whether the :filename property is set"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_FILENAME_SET, pspec);
|
||||
@ -412,8 +412,8 @@ clutter_script_class_init (ClutterScriptClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_string ("filename",
|
||||
"Filename",
|
||||
"The path of the currently parsed file",
|
||||
P_("Filename"),
|
||||
P_("The path of the currently parsed file"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_FILENAME, pspec);
|
||||
|
@ -429,8 +429,8 @@ clutter_shader_effect_class_init (ClutterShaderEffectClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_enum ("shader-type",
|
||||
"Shader Type",
|
||||
"The type of shader used",
|
||||
P_("Shader Type"),
|
||||
P_("The type of shader used"),
|
||||
CLUTTER_TYPE_SHADER_TYPE,
|
||||
CLUTTER_FRAGMENT_SHADER,
|
||||
CLUTTER_PARAM_WRITABLE |
|
||||
|
@ -208,8 +208,8 @@ clutter_shader_class_init (ClutterShaderClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_string ("vertex-source",
|
||||
"Vertex Source",
|
||||
"Source of vertex shader",
|
||||
P_("Vertex Source"),
|
||||
P_("Source of vertex shader"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_VERTEX_SOURCE, pspec);
|
||||
@ -222,8 +222,8 @@ clutter_shader_class_init (ClutterShaderClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_string ("fragment-source",
|
||||
"Fragment Source",
|
||||
"Source of fragment shader",
|
||||
P_("Fragment Source"),
|
||||
P_("Source of fragment shader"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_FRAGMENT_SOURCE, pspec);
|
||||
@ -237,8 +237,8 @@ clutter_shader_class_init (ClutterShaderClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("compiled",
|
||||
"Compiled",
|
||||
"Whether the shader is compiled and linked",
|
||||
P_("Compiled"),
|
||||
P_("Whether the shader is compiled and linked"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (object_class, PROP_COMPILED, pspec);
|
||||
@ -251,8 +251,8 @@ clutter_shader_class_init (ClutterShaderClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("enabled",
|
||||
"Enabled",
|
||||
"Whether the shader is enabled",
|
||||
P_("Enabled"),
|
||||
P_("Whether the shader is enabled"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (object_class, PROP_ENABLED, pspec);
|
||||
|
@ -1015,8 +1015,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("fullscreen-set",
|
||||
"Fullscreen Set",
|
||||
"Whether the main stage is fullscreen",
|
||||
P_("Fullscreen Set"),
|
||||
P_("Whether the main stage is fullscreen"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class,
|
||||
@ -1032,9 +1032,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* and it might be deprecated at any later date.</para></warning>
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("offscreen",
|
||||
"Offscreen",
|
||||
"Whether the main stage should be "
|
||||
"rendered offscreen",
|
||||
P_("Offscreen"),
|
||||
P_("Whether the main stage should be rendered offscreen"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class,
|
||||
@ -1046,9 +1045,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Whether the mouse pointer should be visible
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("cursor-visible",
|
||||
"Cursor Visible",
|
||||
"Whether the mouse pointer is visible "
|
||||
"on the main stage",
|
||||
P_("Cursor Visible"),
|
||||
P_("Whether the mouse pointer is visible on the main stage"),
|
||||
TRUE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class,
|
||||
@ -1062,9 +1060,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("user-resizable",
|
||||
"User Resizable",
|
||||
"Whether the stage is able to be resized "
|
||||
"via user interaction",
|
||||
P_("User Resizable"),
|
||||
P_("Whether the stage is able to be resized via user interaction"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class,
|
||||
@ -1076,8 +1073,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* The color of the main stage.
|
||||
*/
|
||||
pspec = clutter_param_spec_color ("color",
|
||||
"Color",
|
||||
"The color of the stage",
|
||||
P_("Color"),
|
||||
P_("The color of the stage"),
|
||||
&default_stage_color,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_COLOR, pspec);
|
||||
@ -1091,8 +1088,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 0.8.2
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("perspective",
|
||||
"Perspective",
|
||||
"Perspective projection parameters",
|
||||
P_("Perspective"),
|
||||
P_("Perspective projection parameters"),
|
||||
CLUTTER_TYPE_PERSPECTIVE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class,
|
||||
@ -1107,8 +1104,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 0.4
|
||||
*/
|
||||
pspec = g_param_spec_string ("title",
|
||||
"Title",
|
||||
"Stage Title",
|
||||
P_("Title"),
|
||||
P_("Stage Title"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_TITLE, pspec);
|
||||
@ -1123,8 +1120,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("use-fog",
|
||||
"Use Fog",
|
||||
"Whether to enable depth cueing",
|
||||
P_("Use Fog"),
|
||||
P_("Whether to enable depth cueing"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_USE_FOG, pspec);
|
||||
@ -1138,8 +1135,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("fog",
|
||||
"Fog",
|
||||
"Settings for the depth cueing",
|
||||
P_("Fog"),
|
||||
P_("Settings for the depth cueing"),
|
||||
CLUTTER_TYPE_FOG,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_FOG, pspec);
|
||||
@ -1155,9 +1152,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("use-alpha",
|
||||
"Use Alpha",
|
||||
"Whether to honour the alpha component of "
|
||||
"the stage color",
|
||||
P_("Use Alpha"),
|
||||
P_("Whether to honour the alpha component of the stage color"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_USE_ALPHA, pspec);
|
||||
@ -1173,8 +1169,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_object ("key-focus",
|
||||
"Key Focus",
|
||||
"The currently key focused actor",
|
||||
P_("Key Focus"),
|
||||
P_("The currently key focused actor"),
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_KEY_FOCUS, pspec);
|
||||
@ -1190,8 +1186,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 1.4
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("no-clear-hint",
|
||||
"No Clear Hint",
|
||||
"Whether the stage should clear its contents",
|
||||
P_("No Clear Hint"),
|
||||
P_("Whether the stage should clear its contents"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_NO_CLEAR_HINT, pspec);
|
||||
@ -1205,7 +1201,7 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
stage_signals[FULLSCREEN] =
|
||||
g_signal_new ("fullscreen",
|
||||
g_signal_new (I_("fullscreen"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_FIRST,
|
||||
G_STRUCT_OFFSET (ClutterStageClass, fullscreen),
|
||||
@ -1222,7 +1218,7 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
stage_signals[UNFULLSCREEN] =
|
||||
g_signal_new ("unfullscreen",
|
||||
g_signal_new (I_("unfullscreen"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (ClutterStageClass, unfullscreen),
|
||||
@ -1239,7 +1235,7 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
stage_signals[ACTIVATE] =
|
||||
g_signal_new ("activate",
|
||||
g_signal_new (I_("activate"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (ClutterStageClass, activate),
|
||||
@ -1256,7 +1252,7 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
* Since: 0.6
|
||||
*/
|
||||
stage_signals[DEACTIVATE] =
|
||||
g_signal_new ("deactivate",
|
||||
g_signal_new (I_("deactivate"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (ClutterStageClass, deactivate),
|
||||
|
@ -1156,8 +1156,8 @@ clutter_state_class_init (ClutterStateClass *klass)
|
||||
* change state without a transition.
|
||||
*/
|
||||
pspec = g_param_spec_string ("state",
|
||||
"State",
|
||||
"Currently set state, (transition to this state might not be complete)",
|
||||
P_("State"),
|
||||
P_("Currently set state, (transition to this state might not be complete)"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_STATE, pspec);
|
||||
@ -1169,8 +1169,8 @@ clutter_state_class_init (ClutterStateClass *klass)
|
||||
* source/target state pair. The values is in milliseconds.
|
||||
*/
|
||||
pspec = g_param_spec_uint ("duration",
|
||||
"Duration",
|
||||
"Default transition duration",
|
||||
P_("Duration"),
|
||||
P_("Default transition duration"),
|
||||
0, 86400000, 1000,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_DURATION, pspec);
|
||||
|
@ -2495,8 +2495,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_string ("font-name",
|
||||
"Font Name",
|
||||
"The font to be used by the text",
|
||||
P_("Font Name"),
|
||||
P_("The font to be used by the text"),
|
||||
NULL,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_FONT_NAME, pspec);
|
||||
@ -2512,8 +2512,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("font-description",
|
||||
"Font Description",
|
||||
"The font description to be used",
|
||||
P_("Font Description"),
|
||||
P_("The font description to be used"),
|
||||
PANGO_TYPE_FONT_DESCRIPTION,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class,
|
||||
@ -2528,8 +2528,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_string ("text",
|
||||
"Text",
|
||||
"The text to render",
|
||||
P_("Text"),
|
||||
P_("The text to render"),
|
||||
"",
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_TEXT, pspec);
|
||||
@ -2542,8 +2542,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = clutter_param_spec_color ("color",
|
||||
"Font Color",
|
||||
"Color of the font used by the text",
|
||||
P_("Font Color"),
|
||||
P_("Color of the font used by the text"),
|
||||
&default_text_color,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_COLOR, pspec);
|
||||
@ -2556,8 +2556,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("editable",
|
||||
"Editable",
|
||||
"Whether the text is editable",
|
||||
P_("Editable"),
|
||||
P_("Whether the text is editable"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_EDITABLE, pspec);
|
||||
@ -2571,8 +2571,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("selectable",
|
||||
"Selectable",
|
||||
"Whether the text is selectable",
|
||||
P_("Selectable"),
|
||||
P_("Whether the text is selectable"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_SELECTABLE, pspec);
|
||||
@ -2585,9 +2585,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("activatable",
|
||||
"Activatable",
|
||||
"Whether pressing return causes the "
|
||||
"activate signal to be emitted",
|
||||
P_("Activatable"),
|
||||
P_("Whether pressing return causes the activate signal to be emitted"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_ACTIVATABLE, pspec);
|
||||
@ -2602,8 +2601,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("cursor-visible",
|
||||
"Cursor Visible",
|
||||
"Whether the input cursor is visible",
|
||||
P_("Cursor Visible"),
|
||||
P_("Whether the input cursor is visible"),
|
||||
TRUE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_CURSOR_VISIBLE, pspec);
|
||||
@ -2616,8 +2615,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = clutter_param_spec_color ("cursor-color",
|
||||
"Cursor Color",
|
||||
"Cursor Color",
|
||||
P_("Cursor Color"),
|
||||
P_("Cursor Color"),
|
||||
&default_cursor_color,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_CURSOR_COLOR, pspec);
|
||||
@ -2630,8 +2629,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("cursor-color-set",
|
||||
"Cursor Color Set",
|
||||
"Whether the cursor color has been set",
|
||||
P_("Cursor Color Set"),
|
||||
P_("Whether the cursor color has been set"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_CURSOR_COLOR_SET, pspec);
|
||||
@ -2645,8 +2644,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_int ("cursor-size",
|
||||
"Cursor Size",
|
||||
"The width of the cursor, in pixels",
|
||||
P_("Cursor Size"),
|
||||
P_("The width of the cursor, in pixels"),
|
||||
-1, G_MAXINT, DEFAULT_CURSOR_SIZE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_CURSOR_SIZE, pspec);
|
||||
@ -2659,8 +2658,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_int ("position",
|
||||
"Position",
|
||||
"The cursor position",
|
||||
P_("Position"),
|
||||
P_("The cursor position"),
|
||||
-1, G_MAXINT,
|
||||
-1,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -2674,9 +2673,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_int ("selection-bound",
|
||||
"Selection-bound",
|
||||
"The cursor position of the other end "
|
||||
"of the selection",
|
||||
P_("Selection-bound"),
|
||||
P_("The cursor position of the other end of the selection"),
|
||||
-1, G_MAXINT,
|
||||
-1,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -2690,8 +2688,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = clutter_param_spec_color ("selection-color",
|
||||
"Selection Color",
|
||||
"Selection Color",
|
||||
P_("Selection Color"),
|
||||
P_("Selection Color"),
|
||||
&default_selection_color,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_SELECTION_COLOR, pspec);
|
||||
@ -2704,8 +2702,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("selection-color-set",
|
||||
"Selection Color Set",
|
||||
"Whether the selection color has been set",
|
||||
P_("Selection Color Set"),
|
||||
P_("Whether the selection color has been set"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_SELECTION_COLOR_SET, pspec);
|
||||
@ -2719,9 +2717,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boxed ("attributes",
|
||||
"Attributes",
|
||||
"A list of style attributes to apply to "
|
||||
"the contents of the actor",
|
||||
P_("Attributes"),
|
||||
P_("A list of style attributes to apply to the contents of the actor"),
|
||||
PANGO_TYPE_ATTR_LIST,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_ATTRIBUTES, pspec);
|
||||
@ -2735,9 +2732,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("use-markup",
|
||||
"Use markup",
|
||||
"Whether or not the text "
|
||||
"includes Pango markup",
|
||||
P_("Use markup"),
|
||||
P_("Whether or not the text includes Pango markup"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_USE_MARKUP, pspec);
|
||||
@ -2752,9 +2748,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("line-wrap",
|
||||
"Line wrap",
|
||||
"If set, wrap the lines if the text "
|
||||
"becomes too wide",
|
||||
P_("Line wrap"),
|
||||
P_("If set, wrap the lines if the text becomes too wide"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_LINE_WRAP, pspec);
|
||||
@ -2768,8 +2763,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_enum ("line-wrap-mode",
|
||||
"Line wrap mode",
|
||||
"Control how line-wrapping is done",
|
||||
P_("Line wrap mode"),
|
||||
P_("Control how line-wrapping is done"),
|
||||
PANGO_TYPE_WRAP_MODE,
|
||||
PANGO_WRAP_WORD,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -2783,8 +2778,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_enum ("ellipsize",
|
||||
"Ellipsize",
|
||||
"The preferred place to ellipsize the string",
|
||||
P_("Ellipsize"),
|
||||
P_("The preferred place to ellipsize the string"),
|
||||
PANGO_TYPE_ELLIPSIZE_MODE,
|
||||
PANGO_ELLIPSIZE_NONE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -2799,9 +2794,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_enum ("line-alignment",
|
||||
"Line Alignment",
|
||||
"The preferred alignment for the string, "
|
||||
"for multi-line text",
|
||||
P_("Line Alignment"),
|
||||
P_("The preferred alignment for the string, for multi-line text"),
|
||||
PANGO_TYPE_ALIGNMENT,
|
||||
PANGO_ALIGN_LEFT,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
@ -2816,8 +2810,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("justify",
|
||||
"Justify",
|
||||
"Whether the text should be justified",
|
||||
P_("Justify"),
|
||||
P_("Whether the text should be justified"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_JUSTIFY, pspec);
|
||||
@ -2831,9 +2825,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_unichar ("password-char",
|
||||
"Password Character",
|
||||
"If non-zero, use this character to "
|
||||
"display the actor's contents",
|
||||
P_("Password Character"),
|
||||
P_("If non-zero, use this character to display the actor's contents"),
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_PASSWORD_CHAR, pspec);
|
||||
@ -2846,8 +2839,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_int ("max-length",
|
||||
"Max Length",
|
||||
"Maximum length of the text inside the actor",
|
||||
P_("Max Length"),
|
||||
P_("Maximum length of the text inside the actor"),
|
||||
-1, G_MAXINT, 0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_MAX_LENGTH, pspec);
|
||||
@ -2869,8 +2862,8 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("single-line-mode",
|
||||
"Single Line Mode",
|
||||
"Whether the text should be a single line",
|
||||
P_("Single Line Mode"),
|
||||
P_("Whether the text should be a single line"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_SINGLE_LINE_MODE, pspec);
|
||||
@ -2884,7 +2877,7 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
text_signals[TEXT_CHANGED] =
|
||||
g_signal_new ("text-changed",
|
||||
g_signal_new (I_("text-changed"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (ClutterTextClass, text_changed),
|
||||
@ -2909,7 +2902,7 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
text_signals[INSERT_TEXT] =
|
||||
g_signal_new ("insert-text",
|
||||
g_signal_new (I_("insert-text"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
|
||||
0,
|
||||
@ -2932,7 +2925,7 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.2
|
||||
*/
|
||||
text_signals[DELETE_TEXT] =
|
||||
g_signal_new ("delete-text",
|
||||
g_signal_new (I_("delete-text"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
|
||||
0,
|
||||
@ -2955,7 +2948,7 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
text_signals[CURSOR_EVENT] =
|
||||
g_signal_new ("cursor-event",
|
||||
g_signal_new (I_("cursor-event"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (ClutterTextClass, cursor_event),
|
||||
@ -2975,7 +2968,7 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
* Since: 1.0
|
||||
*/
|
||||
text_signals[ACTIVATE] =
|
||||
g_signal_new ("activate",
|
||||
g_signal_new (I_("activate"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (ClutterTextClass, activate),
|
||||
|
@ -911,6 +911,7 @@ clutter_texture_class_init (ClutterTextureClass *klass)
|
||||
{
|
||||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
|
||||
GParamSpec *pspec;
|
||||
|
||||
g_type_class_add_private (klass, sizeof (ClutterTexturePrivate));
|
||||
|
||||
@ -928,105 +929,86 @@ clutter_texture_class_init (ClutterTextureClass *klass)
|
||||
gobject_class->set_property = clutter_texture_set_property;
|
||||
gobject_class->get_property = clutter_texture_get_property;
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_SYNC_SIZE,
|
||||
g_param_spec_boolean ("sync-size",
|
||||
"Sync size of actor",
|
||||
"Auto sync size of actor to underlying pixbuf "
|
||||
"dimensions",
|
||||
TRUE,
|
||||
CLUTTER_PARAM_READWRITE));
|
||||
pspec = g_param_spec_boolean ("sync-size",
|
||||
P_("Sync size of actor"),
|
||||
P_("Auto sync size of actor to underlying pixbuf dimensions"),
|
||||
TRUE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_SYNC_SIZE, pspec);
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_NO_SLICE,
|
||||
g_param_spec_boolean ("disable-slicing",
|
||||
"Disable Slicing",
|
||||
"Force the underlying texture to be singlular"
|
||||
"and not made of of smaller space saving "
|
||||
"inidivual textures.",
|
||||
FALSE,
|
||||
G_PARAM_CONSTRUCT_ONLY | CLUTTER_PARAM_READWRITE));
|
||||
pspec = g_param_spec_boolean ("disable-slicing",
|
||||
P_("Disable Slicing"),
|
||||
P_("Forces the underlying texture to be singlular and not made of of smaller space saving inidivual textures."),
|
||||
FALSE,
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_NO_SLICE, pspec);
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_MAX_TILE_WASTE,
|
||||
g_param_spec_int ("tile-waste",
|
||||
"Tile Waste",
|
||||
"Maximum waste area of a sliced texture",
|
||||
-1, G_MAXINT,
|
||||
COGL_TEXTURE_MAX_WASTE,
|
||||
CLUTTER_PARAM_READABLE));
|
||||
pspec = g_param_spec_int ("tile-waste",
|
||||
P_("Tile Waste"),
|
||||
P_("Maximum waste area of a sliced texture"),
|
||||
-1, G_MAXINT,
|
||||
COGL_TEXTURE_MAX_WASTE,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_MAX_TILE_WASTE, pspec);
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_REPEAT_X,
|
||||
g_param_spec_boolean ("repeat-x",
|
||||
"Tile underlying pixbuf in x direction",
|
||||
"Repeat underlying pixbuf rather than scale "
|
||||
"in x direction.",
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE));
|
||||
pspec = g_param_spec_boolean ("repeat-x",
|
||||
P_("Horizontal repeat"),
|
||||
P_("Repeat the contents rather than scaling them horizontally."),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_REPEAT_X, pspec);
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_REPEAT_Y,
|
||||
g_param_spec_boolean ("repeat-y",
|
||||
"Tile underlying pixbuf in y direction",
|
||||
"Repeat underlying pixbuf rather than scale "
|
||||
"in y direction.",
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE));
|
||||
pspec = g_param_spec_boolean ("repeat-y",
|
||||
P_("Vertical repeat"),
|
||||
P_("Repeat the contents rather than scaling them vertically."),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_REPEAT_Y, pspec);
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_FILTER_QUALITY,
|
||||
g_param_spec_enum ("filter-quality",
|
||||
"Filter Quality",
|
||||
"Rendering quality used when drawing the texture.",
|
||||
CLUTTER_TYPE_TEXTURE_QUALITY,
|
||||
CLUTTER_TEXTURE_QUALITY_MEDIUM,
|
||||
G_PARAM_CONSTRUCT | CLUTTER_PARAM_READWRITE));
|
||||
pspec = g_param_spec_enum ("filter-quality",
|
||||
P_("Filter Quality"),
|
||||
P_("Rendering quality used when drawing the texture."),
|
||||
CLUTTER_TYPE_TEXTURE_QUALITY,
|
||||
CLUTTER_TEXTURE_QUALITY_MEDIUM,
|
||||
G_PARAM_CONSTRUCT | CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_FILTER_QUALITY, pspec);
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_PIXEL_FORMAT,
|
||||
g_param_spec_enum ("pixel-format",
|
||||
"Texture pixel format",
|
||||
"CoglPixelFormat to use.",
|
||||
COGL_TYPE_PIXEL_FORMAT,
|
||||
COGL_PIXEL_FORMAT_RGBA_8888,
|
||||
CLUTTER_PARAM_READABLE));
|
||||
pspec = g_param_spec_enum ("pixel-format",
|
||||
P_("Pixel Format"),
|
||||
P_("The Cogl pixel format to use."),
|
||||
COGL_TYPE_PIXEL_FORMAT,
|
||||
COGL_PIXEL_FORMAT_RGBA_8888,
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_PIXEL_FORMAT, pspec);
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_COGL_TEXTURE,
|
||||
g_param_spec_boxed ("cogl-texture",
|
||||
"COGL Texture",
|
||||
"The underlying COGL texture handle used to draw "
|
||||
"this actor",
|
||||
COGL_TYPE_HANDLE,
|
||||
G_PARAM_READWRITE));
|
||||
pspec = g_param_spec_boxed ("cogl-texture",
|
||||
P_("COGL Texture"),
|
||||
P_("The underlying COGL texture handle used to draw this actor"),
|
||||
COGL_TYPE_HANDLE,
|
||||
G_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_COGL_TEXTURE, pspec);
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_COGL_MATERIAL,
|
||||
g_param_spec_boxed ("cogl-material",
|
||||
"COGL Material",
|
||||
"The underlying COGL material handle used to draw "
|
||||
"this actor",
|
||||
COGL_TYPE_HANDLE,
|
||||
G_PARAM_READWRITE));
|
||||
pspec = g_param_spec_boxed ("cogl-material",
|
||||
P_("COGL Material"),
|
||||
P_("The underlying COGL material handle used to draw this actor"),
|
||||
COGL_TYPE_HANDLE,
|
||||
G_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_COGL_MATERIAL, pspec);
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_FILENAME,
|
||||
g_param_spec_string ("filename",
|
||||
"Filename",
|
||||
"The full path of the file containing the texture",
|
||||
NULL,
|
||||
G_PARAM_WRITABLE));
|
||||
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_KEEP_ASPECT_RATIO,
|
||||
g_param_spec_boolean ("keep-aspect-ratio",
|
||||
"Keep Aspect Ratio",
|
||||
"Keep the aspect ratio of the texture when "
|
||||
"requesting the preferred width or height",
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE));
|
||||
pspec = g_param_spec_string ("filename",
|
||||
P_("Filename"),
|
||||
P_("The full path of the file containing the texture"),
|
||||
NULL,
|
||||
G_PARAM_WRITABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_FILENAME, pspec);
|
||||
|
||||
pspec = g_param_spec_boolean ("keep-aspect-ratio",
|
||||
P_("Keep Aspect Ratio"),
|
||||
P_("Keep the aspect ratio of the texture when requesting the preferred width or height"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_KEEP_ASPECT_RATIO, pspec);
|
||||
|
||||
/**
|
||||
* ClutterTexture:load-async:
|
||||
@ -1047,14 +1029,12 @@ clutter_texture_class_init (ClutterTextureClass *klass)
|
||||
*
|
||||
* Since: 1.0
|
||||
*/
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_LOAD_ASYNC,
|
||||
g_param_spec_boolean ("load-async",
|
||||
"Load asynchronously",
|
||||
"Load files inside a thread to avoid blocking when "
|
||||
"loading images.",
|
||||
FALSE,
|
||||
CLUTTER_PARAM_WRITABLE));
|
||||
pspec = g_param_spec_boolean ("load-async",
|
||||
P_("Load asynchronously"),
|
||||
P_("Load files inside a thread to avoid blocking when loading images from disk."),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_WRITABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_LOAD_ASYNC, pspec);
|
||||
|
||||
|
||||
/**
|
||||
@ -1065,14 +1045,12 @@ clutter_texture_class_init (ClutterTextureClass *klass)
|
||||
*
|
||||
* Since: 1.0
|
||||
*/
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_LOAD_DATA_ASYNC,
|
||||
g_param_spec_boolean ("load-data-async",
|
||||
"Load data asynchronously",
|
||||
"Decode image data files inside a thread to reduce "
|
||||
"blocking when loading images.",
|
||||
FALSE,
|
||||
CLUTTER_PARAM_WRITABLE));
|
||||
pspec = g_param_spec_boolean ("load-data-async",
|
||||
P_("Load data asynchronously"),
|
||||
P_("Decode image data files inside a thread to reduce blocking when loading images from disk."),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_WRITABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_LOAD_DATA_ASYNC, pspec);
|
||||
|
||||
/**
|
||||
* ClutterTexture::pick-with-alpha:
|
||||
@ -1091,13 +1069,12 @@ clutter_texture_class_init (ClutterTextureClass *klass)
|
||||
*
|
||||
* Since: 1.4
|
||||
*/
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_PICK_WITH_ALPHA,
|
||||
g_param_spec_boolean ("pick-with-alpha",
|
||||
"Pick With Alpha Channel",
|
||||
"Shape actor with alpha channel when picking",
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE));
|
||||
pspec = g_param_spec_boolean ("pick-with-alpha",
|
||||
P_("Pick With Alpha"),
|
||||
P_("Shape actor with alpha channel when picking"),
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_PICK_WITH_ALPHA, pspec);
|
||||
|
||||
/**
|
||||
* ClutterTexture::size-change:
|
||||
|
@ -515,8 +515,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
klass->update_area = clutter_x11_texture_pixmap_update_area_real;
|
||||
|
||||
pspec = g_param_spec_ulong ("pixmap",
|
||||
"Pixmap",
|
||||
"The X11 Pixmap to be bound",
|
||||
P_("Pixmap"),
|
||||
P_("The X11 Pixmap to be bound"),
|
||||
0, G_MAXULONG,
|
||||
None,
|
||||
G_PARAM_READWRITE);
|
||||
@ -524,9 +524,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
g_object_class_install_property (object_class, PROP_PIXMAP, pspec);
|
||||
|
||||
pspec = g_param_spec_uint ("pixmap-width",
|
||||
"Pixmap width",
|
||||
"The width of the "
|
||||
"pixmap bound to this texture",
|
||||
P_("Pixmap width"),
|
||||
P_("The width of the pixmap bound to this texture"),
|
||||
0, G_MAXUINT,
|
||||
0,
|
||||
G_PARAM_READABLE);
|
||||
@ -534,9 +533,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
g_object_class_install_property (object_class, PROP_PIXMAP_WIDTH, pspec);
|
||||
|
||||
pspec = g_param_spec_uint ("pixmap-height",
|
||||
"Pixmap height",
|
||||
"The height of the "
|
||||
"pixmap bound to this texture",
|
||||
P_("Pixmap height"),
|
||||
P_("The height of the pixmap bound to this texture"),
|
||||
0, G_MAXUINT,
|
||||
0,
|
||||
G_PARAM_READABLE);
|
||||
@ -544,9 +542,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
g_object_class_install_property (object_class, PROP_PIXMAP_HEIGHT, pspec);
|
||||
|
||||
pspec = g_param_spec_uint ("pixmap-depth",
|
||||
"Pixmap Depth",
|
||||
"The depth (in number of bits) of the "
|
||||
"pixmap bound to this texture",
|
||||
P_("Pixmap Depth"),
|
||||
P_("The depth (in number of bits) of the pixmap bound to this texture"),
|
||||
0, G_MAXUINT,
|
||||
0,
|
||||
G_PARAM_READABLE);
|
||||
@ -554,17 +551,17 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
g_object_class_install_property (object_class, PROP_DEPTH, pspec);
|
||||
|
||||
pspec = g_param_spec_boolean ("automatic-updates",
|
||||
"Automatic Updates",
|
||||
"If the texture should be kept in "
|
||||
"sync with any pixmap changes.",
|
||||
P_("Automatic Updates"),
|
||||
P_("If the texture should be kept in "
|
||||
"sync with any pixmap changes."),
|
||||
FALSE,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
g_object_class_install_property (object_class, PROP_AUTO, pspec);
|
||||
|
||||
pspec = g_param_spec_ulong ("window",
|
||||
"Window",
|
||||
"The X11 Window to be bound",
|
||||
P_("Window"),
|
||||
P_("The X11 Window to be bound"),
|
||||
0, G_MAXULONG,
|
||||
None,
|
||||
G_PARAM_READWRITE);
|
||||
@ -572,9 +569,9 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
g_object_class_install_property (object_class, PROP_WINDOW, pspec);
|
||||
|
||||
pspec = g_param_spec_boolean ("window-redirect-automatic",
|
||||
"Window Redirect Automatic",
|
||||
"If composite window redirects are set to "
|
||||
"Automatic (or Manual if false)",
|
||||
P_("Window Redirect Automatic"),
|
||||
P_("If composite window redirects are set to "
|
||||
"Automatic (or Manual if false)"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
@ -583,8 +580,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
|
||||
|
||||
pspec = g_param_spec_boolean ("window-mapped",
|
||||
"Window Mapped",
|
||||
"If window is mapped",
|
||||
P_("Window Mapped"),
|
||||
P_("If window is mapped"),
|
||||
FALSE,
|
||||
G_PARAM_READABLE);
|
||||
|
||||
@ -593,8 +590,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
|
||||
|
||||
pspec = g_param_spec_boolean ("destroyed",
|
||||
"Destroyed",
|
||||
"If window has been destroyed",
|
||||
P_("Destroyed"),
|
||||
P_("If window has been destroyed"),
|
||||
FALSE,
|
||||
G_PARAM_READABLE);
|
||||
|
||||
@ -602,8 +599,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
PROP_DESTROYED, pspec);
|
||||
|
||||
pspec = g_param_spec_int ("window-x",
|
||||
"Window X",
|
||||
"X position of window on screen according to X11",
|
||||
P_("Window X"),
|
||||
P_("X position of window on screen according to X11"),
|
||||
G_MININT, G_MAXINT, 0, G_PARAM_READABLE);
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
@ -611,16 +608,16 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
|
||||
|
||||
pspec = g_param_spec_int ("window-y",
|
||||
"Window Y",
|
||||
"Y position of window on screen according to X11",
|
||||
P_("Window Y"),
|
||||
P_("Y position of window on screen according to X11"),
|
||||
G_MININT, G_MAXINT, 0, G_PARAM_READABLE);
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_WINDOW_Y, pspec);
|
||||
|
||||
pspec = g_param_spec_boolean ("window-override-redirect",
|
||||
"Window Override Redirect",
|
||||
"If this is an override-redirect window",
|
||||
P_("Window Override Redirect"),
|
||||
P_("If this is an override-redirect window"),
|
||||
FALSE,
|
||||
G_PARAM_READABLE);
|
||||
|
||||
@ -638,7 +635,7 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
* Since: 0.8
|
||||
*/
|
||||
signals[UPDATE_AREA] =
|
||||
g_signal_new ("update-area",
|
||||
g_signal_new (g_intern_static_string ("update-area"),
|
||||
G_TYPE_FROM_CLASS (object_class),
|
||||
G_SIGNAL_RUN_FIRST,
|
||||
G_STRUCT_OFFSET (ClutterX11TexturePixmapClass, \
|
||||
@ -695,7 +692,7 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
|
||||
|
||||
if (!CLUTTER_IS_BACKEND_X11 (default_backend))
|
||||
{
|
||||
g_critical ("ClutterX11TexturePixmap instanciated with a "
|
||||
g_critical ("ClutterX11TexturePixmap instantiated with a "
|
||||
"non-X11 backend");
|
||||
return;
|
||||
}
|
||||
|
@ -1,16 +1,52 @@
|
||||
# keep sorted alphabetically!
|
||||
clutter/clutter-actor.c
|
||||
clutter/clutter-actor-meta.c
|
||||
clutter/clutter-align-constraint.c
|
||||
clutter/clutter-alpha.c
|
||||
clutter/clutter-animation.c
|
||||
clutter/clutter-animator.c
|
||||
clutter/clutter-behaviour.c
|
||||
clutter/clutter-behaviour-depth.c
|
||||
clutter/clutter-behaviour-ellipse.c
|
||||
clutter/clutter-behaviour-opacity.c
|
||||
clutter/clutter-behaviour-path.c
|
||||
clutter/clutter-behaviour-rotate.c
|
||||
clutter/clutter-behaviour-scale.c
|
||||
clutter/clutter-bind-constraint.c
|
||||
clutter/clutter-bin-layout.c
|
||||
clutter/clutter-binding-pool.c
|
||||
clutter/clutter-box.c
|
||||
clutter/clutter-box-layout.c
|
||||
clutter/clutter-cairo-texture.c
|
||||
clutter/clutter-child-meta.c
|
||||
clutter/clutter-click-action.c
|
||||
clutter/clutter-clone.c
|
||||
clutter/clutter-color.c
|
||||
clutter/clutter-colorize-effect.c
|
||||
clutter/clutter-container.c
|
||||
clutter/clutter-deform-effect.c
|
||||
clutter/clutter-desaturate-effect.c
|
||||
clutter/clutter-device-manager.c
|
||||
clutter/clutter-drag-action.c
|
||||
clutter/clutter-event.c
|
||||
clutter/clutter-fixed.c
|
||||
clutter/clutter-fixed.h
|
||||
clutter/clutter-flow-layout.c
|
||||
clutter/clutter-input-device.c
|
||||
clutter/clutter-interval.c
|
||||
clutter/clutter-layout-meta.c
|
||||
clutter/clutter-main.c
|
||||
clutter/clutter-media.c
|
||||
clutter/clutter-rectangle.c
|
||||
clutter/clutter-script.c
|
||||
clutter/clutter-shader.c
|
||||
clutter/clutter-shader-effect.c
|
||||
clutter/clutter-stage-window.c
|
||||
clutter/clutter-stage.c
|
||||
clutter/clutter-state.c
|
||||
clutter/clutter-text.c
|
||||
clutter/clutter-texture.c
|
||||
clutter/clutter-units.c
|
||||
clutter/glx/clutter-backend-glx.c
|
||||
clutter/x11/clutter-backend-x11.c
|
||||
clutter/x11/clutter-x11-texture-pixmap.c
|
||||
|
Loading…
Reference in New Issue
Block a user