TimezoneMap.TimezoneLocation

g GObject.Object GObject.Object TimezoneMap.TimezoneLocation TimezoneMap.TimezoneLocation GObject.Object->TimezoneMap.TimezoneLocation

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_comment ()

get_country ()

get_dist ()

get_en_name ()

get_full_country ()

get_latitude ()

get_longitude ()

get_state ()

get_zone ()

set_comment (comment)

set_country (country)

set_dist (dist)

set_en_name (en_name)

set_full_country (full_country)

set_latitude (lat)

set_longitude (lng)

set_state (state)

set_zone (zone)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

Comment

str

r/w

A comment for the location

country

str

r/w

The country for the location

dist

float

r/w

The distance for the location

en-name

str

r/w

The name of the location

full-country

str

r/w

The full country name

latitude

float

r/w

The latitude for the location

longitude

float

r/w

The longitude for the location

state

str

r/w

The state for the location

zone

str

r/w

The time zone for the location

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class TimezoneMap.TimezoneLocation(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

TimezoneMap.TimezoneLocationClass

classmethod new()
Return type:

TimezoneMap.TimezoneLocation

get_comment()
Return type:

str

get_country()
Return type:

str

get_dist()
Return type:

float

get_en_name()
Return type:

str

get_full_country()
Return type:

str

get_latitude()
Return type:

float

get_longitude()
Return type:

float

get_state()
Return type:

str

get_zone()
Return type:

str

set_comment(comment)
Parameters:

comment (str) –

set_country(country)
Parameters:

country (str) –

set_dist(dist)
Parameters:

dist (float) –

set_en_name(en_name)
Parameters:

en_name (str) –

set_full_country(full_country)
Parameters:

full_country (str) –

set_latitude(lat)
Parameters:

lat (float) –

set_longitude(lng)
Parameters:

lng (float) –

set_state(state)
Parameters:

state (str) –

set_zone(zone)
Parameters:

zone (str) –

Property Details

TimezoneMap.TimezoneLocation.props.Comment
Name:

Comment

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

A comment for the location

TimezoneMap.TimezoneLocation.props.country
Name:

country

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

The country for the location

TimezoneMap.TimezoneLocation.props.dist
Name:

dist

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The distance for the location

TimezoneMap.TimezoneLocation.props.en_name
Name:

en-name

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

The name of the location

TimezoneMap.TimezoneLocation.props.full_country
Name:

full-country

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

The full country name

TimezoneMap.TimezoneLocation.props.latitude
Name:

latitude

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The latitude for the location

TimezoneMap.TimezoneLocation.props.longitude
Name:

longitude

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The longitude for the location

TimezoneMap.TimezoneLocation.props.state
Name:

state

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

The state for the location

TimezoneMap.TimezoneLocation.props.zone
Name:

zone

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

The time zone for the location