enum Gio::NotificationPriority

Overview

Priority levels for #GNotifications.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/gio.cr

Enum Members

Normal = 0_u32

the default priority, to be used for the majority of notifications (for example email messages, software updates, completed download/sync operations)

Low = 1_u32

for notifications that do not require immediate attention - typically used for contextual background information, such as contact birthdays or local weather

High = 2_u32

for events that require more attention, usually because responses are time-sensitive (for example chat and SMS messages or alarms)

Urgent = 3_u32

for urgent notifications, or notifications that require a response in a short space of time (for example phone calls or emergency warnings)

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def high? #

[View source]
def low? #

[View source]
def normal? #

[View source]
def urgent? #

[View source]