<?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>

<refsect1 id="cutter-GCutGLibEventLoop.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_return" colwidth="150px"/>
<colspec colname="functions_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GCutEventLoop"><returnvalue>GCutEventLoop</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gcut-glib-event-loop-new">gcut_glib_event_loop_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>


<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.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gcut-glib-event-loop-new" role="function" condition="since:1.1.6">
<title>gcut_glib_event_loop_new&#160;()</title>
<indexterm zone="gcut-glib-event-loop-new" role="1.1.6"><primary>gcut_glib_event_loop_new</primary></indexterm>
<programlisting language="C"><link linkend="GCutEventLoop"><returnvalue>GCutEventLoop</returnvalue></link>&#160;*
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>
<refsect3 id="gcut-glib-event-loop-new.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>context</para></entry>
<entry role="parameter_description"><para>a <link linkend="GMainContext"><type>GMainContext</type></link> or <link linkend="NULL:CAPS"><literal>NULL</literal></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gcut-glib-event-loop-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GCutEventLoop"><type>GCutEventLoop</type></link>.</para>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.6">1.1.6</link></para></refsect2>

</refsect1>
<refsect1 id="cutter-GCutGLibEventLoop.other_details" role="details">
<title role="details.title">Types and Values</title>

</refsect1>

</refentry>
