Class

AstalIOTime

Description

class AstalIO.Time : GObject.Object
{
  /* No available fields */
}

Time provides shortcuts for GLib timeout functions.

Ancestors

Constructors

astal_io_time_new_interval_prio

Start an interval timer with default Priority.

astal_io_time_new_timeout_prio

Start a timeout timer with default Priority.

astal_io_time_new_idle_prio

Start an idle timer with default priority.

astal_io_time_new
No description available.

Functions

astal_io_time_interval

Start an interval timer. Ticks immediately then every interval milliseconds.

astal_io_time_timeout

Start a timeout timer which ticks after timeout milliseconds.

astal_io_time_idle

Start a timer which will tick when there are no higher priority tasks pending.

Instance methods

astal_io_time_cancel

Cancel timer and emit AstalIOTime::cancelled.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

AstalIO.Time::now

Emitted when the timer ticks.

AstalIO.Time::cancelled

Emitted when the timere is cancelled.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AstalIOTimeClass {
  /* no available fields */
}

No description available.