* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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,
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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,
* 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,
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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,
* 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,
* 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,
* 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);
* 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);
* 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);
* 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);
* 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,
* 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,
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);
* 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,
* 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);
* 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);
* 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);
* 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 |
* 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 |
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
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));
/**
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));
}
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
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;
*
* 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;
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);
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);
* 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);
* 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);
* 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);
* 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 |
* 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 |
* 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);
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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
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);
* 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);
* 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);
* 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);
* 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 |
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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 |
* 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);
* 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 |
#include "clutter-color.h"
#include "clutter-fixed.h"
#include "clutter-interval.h"
+#include "clutter-private.h"
#include "clutter-units.h"
typedef struct
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
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));
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));
* 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);
* 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);
* 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 |
* 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);
* 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);
* 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);
* 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);
* 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,
* 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,
* 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,
* 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,
* 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);
* 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,
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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),
* 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),
* 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),
* 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),
* 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);
* 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);
* 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);
* 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,
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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);
* 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),
* 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,
* 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,
* 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),
* 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),
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
+ GParamSpec *pspec;
g_type_class_add_private (klass, sizeof (ClutterTexturePrivate));
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));
-
- 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));
-
- 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));
-
- 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));
-
- 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));
-
- 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));
-
- 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));
-
- 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));
-
- 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));
-
- 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_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);
+
+ 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);
+
+ 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);
+
+ 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);
+
+ 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);
+
+ 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);
+
+ 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);
+
+ 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);
+
+ 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);
+
+ 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:
*
* 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);
/**
*
* 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:
*
* 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:
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);
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);
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);
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);
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);
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);
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);
pspec = g_param_spec_boolean ("destroyed",
- "Destroyed",
- "If window has been destroyed",
+ P_("Destroyed"),
+ P_("If window has been destroyed"),
FALSE,
G_PARAM_READABLE);
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,
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);
* 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, \
if (!CLUTTER_IS_BACKEND_X11 (default_backend))
{
- g_critical ("ClutterX11TexturePixmap instanciated with a "
+ g_critical ("ClutterX11TexturePixmap instantiated with a "
"non-X11 backend");
return;
}
# 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