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.Pointstructure 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.Pointwith 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.Pointwith 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.ColororNone) – The color of the point orNoneto 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 0x00000000)>- Flags:
The point’s color