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

get_extra_text() str#

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

set_extra_text(text: str) None#

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
props.extra_text: str#

The type of the None singleton.

props.xalign: float#

The type of the None singleton.