License
-
class License(**properties: Any)
Superclasses: Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
A widget that displays license text.
Constructors
-
class License
-
classmethod new() → License
Creates an instance of License
.
Methods
-
class License
-
append_map_source(map_source: MapSource) → None
- Parameters:
map_source
Gets the additional license text.
-
get_xalign() → float
Get the license’s text horizontal alignment.
-
prepend_map_source(map_source: MapSource) → None
- Parameters:
map_source
-
remove_map_source(map_source: MapSource) → None
- Parameters:
map_source
Show the additional license text on the map view. The text will preceed the
map’s licence when displayed. Use “n” to separate the lines.
- Parameters:
text – the additional license text
-
set_xalign(xalign: float) → None
Set the license’s text horizontal alignment.
- Parameters:
xalign – The license’s text horizontal alignment
Properties
-
class License
Sets additional text to be displayed in the license area. The map’s
license will be added below it. Your text can have multiple lines, just use
“n” in between.
-
props.xalign: float
The license’s horizontal alignment