TextClock

Declaration

class enamlnative.widgets.text_clock.TextClock(parent=None, **kwargs)[source]

Bases: enamlnative.widgets.text_view.TextView

A simple control for displaying read-only text.

format_12_hour

Specifies the formatting pattern used to display the date and/or time in 12-hour mode.

format_24_hour

Specifies the formatting pattern used to display the date and/or time in 24-hour mode.

time_zone

Sets the specified time zone to use in this clock.

proxy

A reference to the ProxyLabel object.

Android Implementation

class enamlnative.android.android_text_clock.AndroidTextClock[source]

Bases: enamlnative.android.android_text_view.AndroidTextView, enamlnative.widgets.text_clock.ProxyTextClock

An Android implementation of an Enaml ProxyTextClock.

widget

A reference to the widget created by the proxy.

create_widget()[source]

Create the underlying widget.

init_widget()[source]

Initialize the underlying widget.

No iOS implementation found.