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

Methods

Inherited:

Champlain.Marker (15), Clutter.Actor (238), GObject.Object (37), Clutter.Animatable (5), Clutter.Container (17), Clutter.Scriptable (4), Champlain.Location (3), Champlain.Exportable (2)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_full (size, color)

get_color ()

get_size ()

set_color (color)

set_size (size)

Virtual Methods

Inherited:

Clutter.Actor (35), GObject.Object (7), Clutter.Animatable (5), Clutter.Container (13), Clutter.Scriptable (4), Champlain.Location (3), Champlain.Exportable (2)

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

Signals

Inherited:

Champlain.Marker (4), Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)

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