<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="cutter-GCutGLibEventLoop">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-GCutGLibEventLoop.top_of_page">GLib event loop</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
  CUTTER Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GLib event loop</refname>
<refpurpose>Event loop API for GLib main context
and loop.</refpurpose>
</refnamediv>

<refsynopsisdiv id="cutter-GCutGLibEventLoop.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>                    <link linkend="GCutGLibEventLoop">GCutGLibEventLoop</link>;
                    <link linkend="GCutGLibEventLoopClass">GCutGLibEventLoopClass</link>;
<link linkend="GCutEventLoop"><returnvalue>GCutEventLoop</returnvalue></link> *     <link linkend="gcut-glib-event-loop-new">gcut_glib_event_loop_new</link>            (<parameter><link linkend="GMainContext"><type>GMainContext</type></link> *context</parameter>);
</synopsis>
</refsynopsisdiv>

<refsect1 id="cutter-GCutGLibEventLoop.description" role="desc">
<title role="desc.title">Description</title>
<para>
<link linkend="GCutGLibEventLoop"><type>GCutGLibEventLoop</type></link> is an <link linkend="GCutEventLoop"><type>GCutEventLoop</type></link> implementation
for GLib's main context and loop.
</para>
</refsect1>
<refsect1 id="cutter-GCutGLibEventLoop.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GCutGLibEventLoop" role="struct">
<title>GCutGLibEventLoop</title>
<indexterm zone="GCutGLibEventLoop"><primary>GCutGLibEventLoop</primary></indexterm>
<programlisting>typedef struct {
    GCutEventLoop object;
} GCutGLibEventLoop;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="GCutGLibEventLoopClass" role="struct">
<title>GCutGLibEventLoopClass</title>
<indexterm zone="GCutGLibEventLoopClass"><primary>GCutGLibEventLoopClass</primary></indexterm>
<programlisting>typedef struct {
    GCutEventLoopClass parent_class;
} GCutGLibEventLoopClass;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="gcut-glib-event-loop-new" role="function" condition="since:1.1.6">
<title>gcut_glib_event_loop_new ()</title>
<indexterm zone="gcut-glib-event-loop-new" role="1.1.6"><primary>gcut_glib_event_loop_new</primary></indexterm>
<programlisting><link linkend="GCutEventLoop"><returnvalue>GCutEventLoop</returnvalue></link> *     gcut_glib_event_loop_new            (<parameter><link linkend="GMainContext"><type>GMainContext</type></link> *context</parameter>);</programlisting>
<para>
Creates a new <link linkend="GCutEeventLoop"><type>GCutEeventLoop</type></link> for <parameter>context</parameter>. If <parameter>context</parameter>
is <link linkend="NULL:CAPS"><literal>NULL</literal></link>, the default GLib's main context is used.
</para><variablelist role="params">
<varlistentry><term><parameter>context</parameter>&#160;:</term>
<listitem><simpara>a <link linkend="GMainContext"><type>GMainContext</type></link> or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a new <link linkend="GCutEventLoop"><type>GCutEventLoop</type></link>.

</simpara></listitem></varlistentry>
</variablelist><para role="since">Since 1.1.6</para></refsect2>

</refsect1>

</refentry>
