| Top |
Functions
| ClutterActor * | clutter_rectangle_new () |
| ClutterActor * | clutter_rectangle_new_with_color () |
| void | clutter_rectangle_get_color () |
| void | clutter_rectangle_set_color () |
| void | clutter_rectangle_get_border_color () |
| void | clutter_rectangle_set_border_color () |
| guint | clutter_rectangle_get_border_width () |
| void | clutter_rectangle_set_border_width () |
Properties
| ClutterColor * | border-color | Read / Write |
| guint | border-width | Read / Write |
| ClutterColor * | color | Read / Write |
| gboolean | has-border | Read / Write |
Implemented Interfaces
ClutterRectangle implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
Functions
clutter_rectangle_new ()
ClutterActor *
clutter_rectangle_new (void);
clutter_rectangle_new is deprecated and should not be used in newly-written code.
Creates a new ClutterActor with a rectangular shape.
clutter_rectangle_new_with_color ()
ClutterActor *
clutter_rectangle_new_with_color (const ClutterColor *color);
clutter_rectangle_new_with_color is deprecated and should not be used in newly-written code.
Creates a new ClutterActor with a rectangular shape
and of the given color
.
clutter_rectangle_get_color ()
void clutter_rectangle_get_color (ClutterRectangle *rectangle,ClutterColor *color);
clutter_rectangle_get_color is deprecated and should not be used in newly-written code.
Retrieves the color of rectangle
.
clutter_rectangle_set_color ()
void clutter_rectangle_set_color (ClutterRectangle *rectangle,const ClutterColor *color);
clutter_rectangle_set_color is deprecated and should not be used in newly-written code.
Sets the color of rectangle
.
clutter_rectangle_get_border_color ()
void clutter_rectangle_get_border_color (ClutterRectangle *rectangle,ClutterColor *color);
clutter_rectangle_get_border_color is deprecated and should not be used in newly-written code.
Gets the color of the border used by rectangle
and places
it into color
.
Since 0.2
clutter_rectangle_set_border_color ()
void clutter_rectangle_set_border_color (ClutterRectangle *rectangle,const ClutterColor *color);
clutter_rectangle_set_border_color is deprecated and should not be used in newly-written code.
Sets the color of the border used by rectangle
using color
clutter_rectangle_get_border_width ()
guint
clutter_rectangle_get_border_width (ClutterRectangle *rectangle);
clutter_rectangle_get_border_width is deprecated and should not be used in newly-written code.
Gets the width (in pixels) of the border used by rectangle
Since 0.2
clutter_rectangle_set_border_width ()
void clutter_rectangle_set_border_width (ClutterRectangle *rectangle,guint width);
clutter_rectangle_set_border_width is deprecated and should not be used in newly-written code.
Sets the width (in pixel) of the border used by rectangle
.
A width
of 0 will unset the border.
Since 0.2
Types and Values
struct ClutterRectangle
struct ClutterRectangle;
The ClutterRectangle structure contains only private data and should be accessed using the provided API
Since 0.1
struct ClutterRectangleClass
struct ClutterRectangleClass {
};
The ClutterRectangleClass structure contains only private data
Since 0.1
Property Details
The “border-color” property
“border-color” ClutterColor *
The color of the border of the rectangle.
Flags: Read / Write
Since 0.2
The “border-width” property
“border-width” guint
The width of the border of the rectangle, in pixels.
Flags: Read / Write
Default value: 0
Since 0.2
The “has-border” property
“has-border” gboolean
Whether the ClutterRectangle should be displayed with a border.
Flags: Read / Write
Default value: FALSE
Since 0.2
