Top |
GObject ╰── GInitiallyUnowned ╰── ClutterActor ╰── ChamplainMarker ╰── ChamplainPoint
ChamplainPoint implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface, ChamplainLocation and ChamplainExportable.
ChamplainPoint is a simple variant of ChamplainMarker. Contrary to ChamplainLabel, it is not capable of labelling the point with text and only shows the location of the point as a circle on the map.
ClutterActor *
champlain_point_new (void
);
Creates an instance of ChamplainPoint with default size and color.
Since: 0.10
ClutterActor * champlain_point_new_full (gdouble size
,const ClutterColor *color
);
Creates an instance of ChamplainPoint with the specified size and color.
Since: 0.10
void champlain_point_set_color (ChamplainPoint *point
,const ClutterColor *color
);
Set the color of the point.
point |
||
color |
The color of the point or NULL to reset the background to the default color. The color parameter is copied. |
[allow-none] |
Since: 0.10
ClutterColor *
champlain_point_get_color (ChamplainPoint *point
);
Gets the color of the point.
Since: 0.10
void champlain_point_set_size (ChamplainPoint *point
,gdouble size
);
Set the size of the point.
Since: 0.10
gdouble
champlain_point_get_size (ChamplainPoint *point
);
Gets the size of the point.
Since: 0.10
struct ChamplainPoint;
The ChamplainPoint structure contains only private data and should be accessed using the provided API
Since: 0.10
“color”
property“color” ClutterColor *
The point's color.
Owner: ChamplainPoint
Flags: Read / Write
“size”
property“size” gdouble
The point size.
Owner: ChamplainPoint
Flags: Read / Write
Allowed values: >= 0
Default value: 12