enum Gtk::MessageType

Overview

The type of message being displayed in a #MessageDialog.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

Info = 0_u32

Informational message

Warning = 1_u32

Non-fatal warning message

Question = 2_u32

Question requiring a choice

Error = 3_u32

Fatal error message

Other = 4_u32

None of the above

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.


Instance Method Detail

def error? #

def info? #

def other? #

def question? #

def warning? #