Champlain.Point

g Atk.ImplementorIface Atk.ImplementorIface Clutter.Actor Clutter.Actor Atk.ImplementorIface->Clutter.Actor Champlain.Exportable Champlain.Exportable Champlain.Point Champlain.Point Champlain.Exportable->Champlain.Point Champlain.Location Champlain.Location Champlain.Marker Champlain.Marker Champlain.Location->Champlain.Marker Champlain.Marker->Champlain.Point Clutter.Actor->Champlain.Marker Clutter.Animatable Clutter.Animatable Clutter.Animatable->Clutter.Actor Clutter.Container Clutter.Container Clutter.Container->Clutter.Actor Clutter.Scriptable Clutter.Scriptable Clutter.Scriptable->Clutter.Actor GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface GObject.GInterface->Champlain.Exportable GObject.GInterface->Champlain.Location GObject.GInterface->Clutter.Animatable GObject.GInterface->Clutter.Container GObject.GInterface->Clutter.Scriptable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Clutter.Actor GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:None

Properties

Inherited:Champlain.Marker (3), Clutter.Actor (82), Champlain.Location (2), Champlain.Exportable (1)
Name Type Flags Short Description
color Clutter.Color r/w The point’s color

Fields

Inherited:Champlain.Marker (4), Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)
Name Type Access Description
parent Champlain.Marker r  

Class Details

class Champlain.Point(**kwargs)
Bases:Champlain.Marker, Champlain.Exportable
Abstract:No
Structure:Champlain.PointClass

The Champlain.Point structure contains only private data and should be accessed using the provided API

New in version 0.10.

classmethod new()
Returns:a new Champlain.Point.
Return type:Clutter.Actor

Creates an instance of Champlain.Point with default size and color.

New in version 0.10.

classmethod new_full(size, color)
Parameters:
Returns:

a new Champlain.Point.

Return type:

Clutter.Actor

Creates an instance of Champlain.Point with the specified size and color.

New in version 0.10.

get_color()
Returns:the color.
Return type:Clutter.Color

Gets the color of the point.

New in version 0.10.

get_size()
Returns:the size.
Return type:float

Gets the size of the point.

New in version 0.10.

set_color(color)
Parameters:color (Clutter.Color or None) – The color of the point or None to reset the background to the default color. The color parameter is copied.

Set the color of the point.

New in version 0.10.

set_size(size)
Parameters:size (float) – The size of the point.

Set the size of the point.

New in version 0.10.

Property Details

Champlain.Point.props.color
Name:color
Type:Clutter.Color
Default Value:<Color structure at 0x000000000000 (ClutterColor at 0x0000000)>
Flags:READABLE, WRITABLE

The point’s color