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

## Functions

GCutEventLoop * | gcut_glib_event_loop_new ()

## Description

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

## Functions

### 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.

#### Parameters

context | a GMainContext or `NULL` |

#### Returns

a new GCutEventLoop.

Since: 1.1.6

## Types and Values