<?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="GCutGLibEventLoop">
<refmeta>
<refentrytitle role="top_of_page" id="GCutGLibEventLoop.top_of_page"
>GLib event loop</refentrytitle>
<manvolnum
>3</manvolnum>
<refmiscinfo
>Cutterライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname
>GLib event loop</refname>
<refpurpose
>GLibのGMainContextとGMainLoop用のイベントループAPI。</refpurpose>
</refnamediv>

<refsect1 id="GCutGLibEventLoop.functions" role="functions_proto">
<title role="functions_proto.title"
>Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_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="GCutGLibEventLoop.properties" role="properties">
<title role="properties.title"
>プロパティ</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="properties_type" colwidth="150px"/>
<colspec colname="properties_name" colwidth="300px"/>
<colspec colname="properties_flags" colwidth="200px"/>
<tbody>
<row
><entry role="property_type"
><link linkend="gpointer"
><type
>gpointer</type
></link
></entry
><entry role="property_name"
><link linkend="GCutGLibEventLoop--context"
>context</link
></entry
><entry role="property_flags"
>Read / Write / Construct&#160;Only</entry
></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GCutGLibEventLoop.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title"
>オブジェクト階層</title>
<screen
><link linkend="GObject"
>GObject</link>
    <phrase role="lineart"
>&#9584;&#9472;&#9472;</phrase
> <link linkend="GCutEventLoop"
>GCutEventLoop</link>
        <phrase role="lineart"
>&#9584;&#9472;&#9472;</phrase
> GCutGLibEventLoop
</screen>
</refsect1>


<refsect1 id="GCutGLibEventLoop.description" role="desc">
<title role="desc.title"
>説明</title>
<para
><link linkend="GCutGLibEventLoop"
><type
>GCutGLibEventLoop</type
></link
>はGLibのGMainContextとGMainLoop用の<link linkend="GCutEventLoop"
><type
>GCutEventLoop</type
></link
>実装です。</para>

</refsect1>
<refsect1 id="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
><parameter
>context</parameter
>用の新しい<link linkend="GCutEeventLoop"
><type
>GCutEeventLoop</type
></link
>を作ります。<parameter
>context</parameter
>が<link linkend="NULL:CAPS"
><literal
>NULL</literal
></link
>ならGLibのデフォルトGMainContextが使われます。</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
><link linkend="GMainContext"
><type
>GMainContext</type
></link
>または<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
>新しい<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="GCutGLibEventLoop.property-details" role="property_details">
<title role="property_details.title"
>プロパティ詳細</title>
<refsect2 id="GCutGLibEventLoop--context" role="property"
><title
>The <literal
>“context”</literal
> property</title>
<indexterm zone="GCutGLibEventLoop--context"
><primary
>GCutGLibEventLoop:context</primary
></indexterm>
<programlisting
>“context”                  <link linkend="gpointer"
><type
>gpointer</type
></link
></programlisting>
<para
>Use the GMainContext for the event loop.</para
><para
>Owner: GCutGLibEventLoop</para>
<para
>Flags: Read / Write / Construct&#160;Only</para>
</refsect2>

</refsect1>

</refentry>
