|  |  |  | Clutter Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct ClutterRectangle; struct ClutterRectangleClass; ClutterActor * clutter_rectangle_new (void); ClutterActor * clutter_rectangle_new_with_color (const ClutterColor *color); void clutter_rectangle_get_color (ClutterRectangle *rectangle,ClutterColor *color); void clutter_rectangle_set_color (ClutterRectangle *rectangle,const ClutterColor *color); void clutter_rectangle_get_border_color (ClutterRectangle *rectangle,ClutterColor *color); void clutter_rectangle_set_border_color (ClutterRectangle *rectangle,const ClutterColor *color); guint clutter_rectangle_get_border_width (ClutterRectangle *rectangle); void clutter_rectangle_set_border_width (ClutterRectangle *rectangle,guint width);
ClutterRectangle implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
"border-color" ClutterColor* : Read / Write "border-width" guint : Read / Write "color" ClutterColor* : Read / Write "has-border" gboolean : Read / Write
struct ClutterRectangle;
The ClutterRectangle structure contains only private data and should be accessed using the provided API
Since 0.1
struct ClutterRectangleClass {
};
The ClutterRectangleClass structure contains only private data
Since 0.1
ClutterActor *      clutter_rectangle_new               (void);
Creates a new ClutterActor with a rectangular shape.
| Returns : | a new ClutterActor | 
ClutterActor *      clutter_rectangle_new_with_color    (const ClutterColor *color);
Creates a new ClutterActor with a rectangular shape
and of the given color.
| 
 | a ClutterColor | 
| Returns : | a new ClutterActor | 
void clutter_rectangle_get_color (ClutterRectangle *rectangle,ClutterColor *color);
Retrieves the color of rectangle.
| 
 | a ClutterRectangle | 
| 
 | return location for a ClutterColor. [out caller-allocates] | 
void clutter_rectangle_set_color (ClutterRectangle *rectangle,const ClutterColor *color);
Sets the color of rectangle.
| 
 | a ClutterRectangle | 
| 
 | a ClutterColor | 
void clutter_rectangle_get_border_color (ClutterRectangle *rectangle,ClutterColor *color);
Gets the color of the border used by rectangle and places
it into color.
| 
 | a ClutterRectangle | 
| 
 | return location for a ClutterColor. [out caller-allocates] | 
Since 0.2
void clutter_rectangle_set_border_color (ClutterRectangle *rectangle,const ClutterColor *color);
Sets the color of the border used by rectangle using color
| 
 | a ClutterRectangle | 
| 
 | the color of the border | 
guint               clutter_rectangle_get_border_width  (ClutterRectangle *rectangle);
Gets the width (in pixels) of the border used by rectangle
| 
 | a ClutterRectangle | 
| Returns : | the border's width | 
Since 0.2
void clutter_rectangle_set_border_width (ClutterRectangle *rectangle,guint width);
Sets the width (in pixel) of the border used by rectangle.
A width of 0 will unset the border.
| 
 | a ClutterRectangle | 
| 
 | the width of the border | 
Since 0.2
"border-color" property"border-color" ClutterColor* : Read / Write
The color of the border of the rectangle.
Since 0.2
"border-width" property  "border-width"             guint                 : Read / Write
The width of the border of the rectangle, in pixels.
Default value: 0
Since 0.2
"has-border" property  "has-border"               gboolean              : Read / Write
Whether the ClutterRectangle should be displayed with a border.
Default value: FALSE
Since 0.2