#include #include -- | module Bindings.GLib.CoreApplicationSupport.MainEventLoop where #strict_import import Bindings.GLib.Fundamentals import Bindings.GLib.Utilities.DateAndTimeFunctions import Bindings.GLib.DataTypes.Datasets import Bindings.GLib.CoreApplicationSupport.Threads #opaque_t GMainLoop #ccall g_main_loop_new , Ptr -> -> IO (Ptr ) #ccall g_main_loop_ref , Ptr -> IO (Ptr ) #ccall g_main_loop_unref , Ptr -> IO () #ccall g_main_loop_run , Ptr -> IO () #ccall g_main_loop_quit , Ptr -> IO () #ccall g_main_loop_is_running , Ptr -> IO #ccall g_main_loop_get_context , Ptr -> IO (Ptr ) #num G_PRIORITY_HIGH #num G_PRIORITY_DEFAULT #num G_PRIORITY_HIGH_IDLE #num G_PRIORITY_DEFAULT_IDLE #num G_PRIORITY_LOW #opaque_t GMainContext #ccall g_main_context_new , IO (Ptr ) #ccall g_main_context_ref , Ptr -> IO (Ptr ) #ccall g_main_context_unref , Ptr -> IO () #ccall g_main_context_default , IO (Ptr ) #ccall g_main_context_iteration , Ptr -> -> IO #ccall g_main_context_pending , Ptr -> IO #ccall g_main_context_find_source_by_id , Ptr -> -> IO (Ptr ) #ccall g_main_context_find_source_by_user_data , Ptr -> -> IO (Ptr ) #ccall g_main_context_find_source_by_funcs_user_data , Ptr -> Ptr -> -> IO (Ptr ) #ccall g_main_context_wakeup , Ptr -> IO () #ccall g_main_context_acquire , Ptr -> IO #ccall g_main_context_release , Ptr -> IO () #ccall g_main_context_is_owner , Ptr -> IO #ccall g_main_context_wait , Ptr -> Ptr -> Ptr -> IO #ccall g_main_context_prepare , Ptr -> Ptr -> IO #ccall g_main_context_query , Ptr -> -> Ptr -> Ptr -> -> IO #ccall g_main_context_check , Ptr -> -> Ptr -> -> IO #ccall g_main_context_dispatch , Ptr -> IO () #ccall g_main_context_set_poll_func , Ptr -> -> IO () #ccall g_main_context_get_poll_func , Ptr -> IO #callback GPollFunc , Ptr -> -> -> IO #ccall g_main_context_add_poll , Ptr -> Ptr -> -> IO () #ccall g_main_context_remove_poll , Ptr -> Ptr -> IO () #ccall g_main_depth , IO #ccall g_main_current_source , IO (Ptr ) #ccall g_main_context_get_thread_default , IO (Ptr ) #ccall g_main_context_push_thread_default , Ptr -> IO () #ccall g_main_context_pop_thread_default , Ptr -> IO () #ccall g_timeout_source_new , -> IO (Ptr ) #ccall g_timeout_source_new_seconds , -> IO (Ptr ) #ccall g_timeout_add , -> -> -> IO #ccall g_timeout_add_full , -> -> -> -> -> IO #ccall g_timeout_add_seconds , -> -> -> IO #ccall g_timeout_add_seconds_full , -> -> -> -> -> IO #ccall g_idle_source_new , IO (Ptr ) #ccall g_idle_add , -> -> IO #ccall g_idle_add_full , -> -> -> -> IO #ccall g_idle_remove_by_data , -> IO #integral_t GPid #callback GChildWatchFunc , -> -> -> IO () #ccall g_child_watch_source_new , -> IO (Ptr ) #ccall g_child_watch_add , -> -> -> IO #ccall g_child_watch_add_full , -> -> -> -> -> IO #starttype GPollFD #field events , #field revents , #stoptype #ccall g_poll , Ptr -> -> -> IO #opaque_t GSource #callback GSourceDummyMarshal , IO () #starttype GSourceFuncs #field prepare , FunPtr (Ptr -> Ptr -> IO ) #field check , FunPtr (Ptr -> IO ) #field dispatch , FunPtr (Ptr -> -> -> IO ) #field finalize , FunPtr (Ptr -> IO ()) #field closure_callback , #field closure_marshal , #stoptype #starttype GSourceCallbackFuncs #field ref , FunPtr ( -> IO ()) #field unref , FunPtr ( -> IO ()) #field get , FunPtr ( -> Ptr -> Ptr -> Ptr -> IO ()) #stoptype #ccall g_source_new , Ptr -> -> IO (Ptr ) #ccall g_source_ref , Ptr -> IO (Ptr ) #ccall g_source_unref , Ptr -> IO () #ccall g_source_set_funcs , Ptr -> Ptr -> IO () #ccall g_source_attach , Ptr -> Ptr -> IO #ccall g_source_destroy , Ptr -> IO () #ccall g_source_is_destroyed , Ptr -> IO #ccall g_source_set_priority , Ptr -> -> IO () #ccall g_source_get_priority , Ptr -> IO #ccall g_source_set_can_recurse , Ptr -> -> IO () #ccall g_source_get_can_recurse , Ptr -> IO #ccall g_source_get_id , Ptr -> IO #ccall g_source_get_context , Ptr -> IO (Ptr ) #ccall g_source_set_callback , Ptr -> -> -> -> IO () #callback GSourceFunc , -> IO #ccall g_source_set_callback_indirect , Ptr -> -> Ptr -> IO () #ccall g_source_add_poll , Ptr -> Ptr -> IO () #ccall g_source_remove_poll , Ptr -> Ptr -> IO () #ccall g_source_get_current_time , Ptr -> Ptr -> IO () #ccall g_source_remove , -> IO #ccall g_source_remove_by_funcs_user_data , Ptr -> -> IO #ccall g_source_remove_by_user_data , -> IO