class GLib::MainLoop
- GLib::MainLoop
- Reference
- Object
Overview
The GMainLoop
struct is an opaque data type
representing the main event loop of a GLib or GTK+ application.
Defined in:
lib/gi-crystal/src/auto/g_lib-2.0/main_loop.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(context : GLib::MainContext?, is_running : Bool) : self
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #context : GLib::MainContext
- #finalize
- #is_running : Bool
- #quit : Nil
- #ref : GLib::MainLoop
- #run : Nil
- #to_unsafe : Pointer(Void)
- #unref : Nil