Champlain.Point¶
- 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:
class |
|
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Champlain.Marker (3), Clutter.Actor (82), Champlain.Location (2), Champlain.Exportable (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The point’s color |
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Champlain.Point(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Champlain.Point
structure contains only private data and should be accessed using the provided APINew in version 0.10.
- classmethod new()¶
- Returns:
a new
Champlain.Point
.- Return type:
Creates an instance of
Champlain.Point
with default size and color.New in version 0.10.
- classmethod new_full(size, color)¶
- Parameters:
size (
float
) – Marker sizecolor (
Clutter.Color
) – Marker color
- Returns:
a new
Champlain.Point
.- Return type:
Creates an instance of
Champlain.Point
with the specified size and color.New in version 0.10.
- get_color()¶
- Returns:
the color.
- Return type:
Gets the color of the point.
New in version 0.10.
- set_color(color)¶
- Parameters:
color (
Clutter.Color
orNone
) – The color of the point orNone
to reset the background to the default color. The color parameter is copied.
Set the color of the point.
New in version 0.10.
Property Details¶
- Champlain.Point.props.color¶
- Name:
color
- Type:
- Default Value:
<Color structure at 0x000000000000 (ClutterColor at 0x0000000)>
- Flags:
The point’s color