TimezoneMap.TimezoneMap
Properties
| Name | Type | Flags | Short Description | 
|---|
| selected-offset | str | r/w | The selected offset from GMT in hours | 
 
Class Details
- 
class TimezoneMap.TimezoneMap(**kwargs)
- 
- 
classmethod new()
- 
 
- 
clear_location()
- Clear the location currently set for the - TimezoneMap.TimezoneMap. This will remove
the highlight and reset the map to its original state.
 
 
- 
get_location()
- 
Returns the current location set for the map. 
 
- 
get_selected_offset()
- 
| Returns: | The selected offset. | 
|---|
 | Return type: | float | 
|---|
 
 - Returns the currently selected offset in hours from GMT. 
 
- 
get_timezone_at_coords(lon, lat)
- 
| Parameters: |  | 
|---|
 | Return type: | str
 | 
|---|
 
 
 
- 
set_coords(lon, lat)
- 
 
- 
set_location(lon, lat)
- 
 
- 
set_selected_offset(offset)
- 
| Parameters: | offset ( float) – The offset from GMT in hours | 
|---|
 
 - Set the currently selected offset for the map and redraw the highlighted
time zone. 
 
- 
set_timezone(timezone)
- 
| Parameters: | timezone ( str) – | 
|---|
 
 
 
- 
set_watermark(watermark)
- 
| Parameters: | watermark ( str) – | 
|---|
 
 
 
 
Signal Details
- 
TimezoneMap.TimezoneMap.signals.location_changed(timezone_map, object)
- 
| Signal Name: | location-changed
 | 
|---|
 | Flags: | RUN_FIRST
 | 
|---|
 | Parameters: |  | 
|---|
 
 
 
Property Details
- 
TimezoneMap.TimezoneMap.props.selected_offset
- 
The selected offset from GMT in hours