Shumate.License¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), Gtk.Buildable (1)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Additional license text |
||
r/w |
X alignment of the child |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Shumate.License(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A widget that displays license text.
- classmethod new()¶
- Returns:
a new
Shumate.License
.- Return type:
Creates an instance of
Shumate.License
.
- append_map_source(map_source)¶
- Parameters:
map_source (
Shumate.MapSource
) –
- get_extra_text()¶
- Returns:
the additional license text
- Return type:
Gets the additional license text.
- get_xalign()¶
- Returns:
the license’s text horizontal alignment.
- Return type:
Get the license’s text horizontal alignment.
- prepend_map_source(map_source)¶
- Parameters:
map_source (
Shumate.MapSource
) –
- remove_map_source(map_source)¶
- Parameters:
map_source (
Shumate.MapSource
) –
Property Details¶
- Shumate.License.props.extra_text¶
-
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.