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
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
Equals(Timer?)
public bool Equals(Timer? other)
Parameters
other
Timer
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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
New()
public static Timer New()
Returns
Reset()
public void Reset()
Start()
public void Start()
Stop()
public void Stop()