Champlain.Layer¶
- Subclasses:
Methods¶
- Inherited:
Clutter.Actor (238), GObject.Object (37), Clutter.Animatable (5), Clutter.Container (17), Clutter.Scriptable (4)
- Structs:
|
Virtual Methods¶
- Inherited:
Clutter.Actor (35), GObject.Object (7), Clutter.Animatable (5), Clutter.Container (13), Clutter.Scriptable (4)
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)
Fields¶
- Inherited:
Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Champlain.Layer(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
The
Champlain.Layer
structure contains only private data and should be accessed using the provided APINew in version 0.10.
- get_bounding_box()¶
- Returns:
The bounding box.
- Return type:
Gets the bounding box occupied by the elements inside the layer.
New in version 0.10.
- set_view(view)¶
- Parameters:
view (
Champlain.View
orNone
) – aChamplain.View
Champlain.View
calls this method to pass a reference to itself to the layer when the layer is added to the view. When the layer is removed from the view, it passesNone
to the layer. Custom layers can implement this method and perform the necessary initialization. This method should not be called by user code.New in version 0.10.
- do_get_bounding_box() virtual¶
- Returns:
The bounding box.
- Return type:
Gets the bounding box occupied by the elements inside the layer.
New in version 0.10.
- do_set_view(view) virtual¶
- Parameters:
view (
Champlain.View
orNone
) – aChamplain.View
Champlain.View
calls this method to pass a reference to itself to the layer when the layer is added to the view. When the layer is removed from the view, it passesNone
to the layer. Custom layers can implement this method and perform the necessary initialization. This method should not be called by user code.New in version 0.10.