Champlain.License¶
- Subclasses:
None
Methods¶
- Inherited:
Clutter.Actor (238), GObject.Object (37), Clutter.Animatable (5), Clutter.Container (17), Clutter.Scriptable (4)
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The license’s alignment |
||
r/w |
Additional license text |
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.License(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Champlain.License
structure contains only private data and should be accessed using the provided APINew in version 0.10.
- classmethod new()¶
- Returns:
a new
Champlain.License
.- Return type:
Creates an instance of
Champlain.License
.New in version 0.10.
- connect_view(view)¶
- Parameters:
view (
Champlain.View
) – aChamplain.View
This method connects to the necessary signals of
Champlain.View
to make the license change automatically when the map source changes.New in version 0.10.
- disconnect_view()¶
This method disconnects from the signals previously connected by
Champlain.License.connect_view
().New in version 0.10.
- get_alignment()¶
- Returns:
the license’s text alignment.
- Return type:
Get the license’s text alignment.
New in version 0.10.
- get_extra_text()¶
- Returns:
the additional license text
- Return type:
Gets the additional license text.
New in version 0.10.
- set_alignment(alignment)¶
- Parameters:
alignment (
Pango.Alignment
) – The license’s text alignment
Set the license’s text alignment.
New in version 0.10.
Property Details¶
- Champlain.License.props.alignment¶
- Name:
alignment
- Type:
- Default Value:
- Flags:
The license’s alignment
New in version 0.10.