## GLib event loop GLib event loop — Event loop API for GLib main context and loop. |

## Synopsis

    struct              GCutGLibEventLoop;
    struct              GCutGLibEventLoopClass;
    GCutEventLoop *     gcut_glib_event_loop_new            (GMainContext *context);

## Description

GCutGLibEventLoop is an GCutEventLoop implementation for GLib's main context and loop.

## Details

### struct GCutGLibEventLoop

    struct GCutGLibEventLoop {
        GCutEventLoop object;
    };

### struct GCutGLibEventLoopClass

    struct GCutGLibEventLoopClass {
        GCutEventLoopClass parent_class;
    };

### gcut_glib_event_loop_new ()

    GCutEventLoop *     gcut_glib_event_loop_new            (GMainContext *context);

Creates a new GCutEeventLoop for `context`. If `context` is `NULL`, the default GLib's main context is used.

`context` : | a GMainContext or `NULL`
Returns : | a new GCutEventLoop.

Since 1.1.6