Table of Contents

Class Timer

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class Timer
Inheritance
Timer
Inherited Members

Constructors

Timer(TimerOwnedHandle)

public Timer(TimerOwnedHandle handle)

Parameters

handle TimerOwnedHandle

Properties

Handle

public TimerOwnedHandle Handle { get; }

Property Value

TimerOwnedHandle

Methods

Continue()

[Version("2.4")]
public void Continue()

Destroy()

public void Destroy()

Elapsed(ref ulong)

public double Elapsed(ref ulong microseconds)

Parameters

microseconds ulong

Returns

double

Equals(Timer?)

public bool Equals(Timer? other)

Parameters

other Timer

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsActive()

[Version("2.62")]
public bool IsActive()

Returns

bool

New()

public static Timer New()

Returns

Timer

Reset()

public void Reset()

Start()

public void Start()

Stop()

public void Stop()