2003-02-12 01:58:24 +00:00
|
|
|
<Type Name="Idle" FullName="GLib.Idle">
|
2003-02-15 03:08:25 +00:00
|
|
|
<TypeSignature Language="C#" Value="public class Idle" Maintainer="auto" />
|
2011-11-09 16:01:51 +00:00
|
|
|
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Idle extends System.Object" />
|
2003-02-12 01:58:24 +00:00
|
|
|
<AssemblyInfo>
|
|
|
|
<AssemblyName>glib-sharp</AssemblyName>
|
2003-12-24 01:35:30 +00:00
|
|
|
<AssemblyPublicKey>
|
|
|
|
</AssemblyPublicKey>
|
2003-02-12 01:58:24 +00:00
|
|
|
</AssemblyInfo>
|
2003-03-09 07:58:52 +00:00
|
|
|
<ThreadSafetyStatement>This function is thread safe.</ThreadSafetyStatement>
|
2009-01-06 16:29:49 +00:00
|
|
|
<Base>
|
|
|
|
<BaseTypeName>System.Object</BaseTypeName>
|
|
|
|
</Base>
|
|
|
|
<Interfaces />
|
2003-02-12 01:58:24 +00:00
|
|
|
<Docs>
|
2003-03-09 07:58:52 +00:00
|
|
|
<summary>Idle handlers for GLib-based main-loops</summary>
|
|
|
|
<remarks>
|
|
|
|
GLib provides an implementation of a "main loop" (an event-based
|
|
|
|
main loop that dispatches requests). The Idle handler class is
|
|
|
|
used to register a routine to be called when the main loop is
|
|
|
|
idle.
|
|
|
|
</remarks>
|
2003-02-12 01:58:24 +00:00
|
|
|
</Docs>
|
|
|
|
<Members>
|
|
|
|
<Member MemberName="Add">
|
|
|
|
<MemberSignature Language="C#" Value="public static uint Add (GLib.IdleHandler hndlr);" />
|
2011-11-09 16:01:51 +00:00
|
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int32 Add(class GLib.IdleHandler hndlr) cil managed" />
|
2003-02-12 01:58:24 +00:00
|
|
|
<MemberType>Method</MemberType>
|
|
|
|
<ReturnValue>
|
|
|
|
<ReturnType>System.UInt32</ReturnType>
|
|
|
|
</ReturnValue>
|
|
|
|
<Parameters>
|
2003-08-30 02:35:39 +00:00
|
|
|
<Parameter Name="hndlr" Type="GLib.IdleHandler" />
|
|
|
|
</Parameters>
|
2003-02-12 01:58:24 +00:00
|
|
|
<Docs>
|
2003-03-09 07:58:52 +00:00
|
|
|
<param name="hndlr">The delegate method that will be invoked.</param>
|
2009-01-06 16:29:49 +00:00
|
|
|
<summary>Installs an idle handler for the main loop.</summary>
|
2003-03-09 07:58:52 +00:00
|
|
|
<returns>The handler code assigned to this idle handler.</returns>
|
|
|
|
<remarks>
|
2003-03-15 22:45:31 +00:00
|
|
|
<para>
|
|
|
|
This function installs the <paramref name="hndlr" /> as a
|
2003-03-09 07:58:52 +00:00
|
|
|
handler to be invoked when the GLib mainloop is idle. If
|
2003-03-15 22:45:31 +00:00
|
|
|
the handler returns <see langword="true" /> the handler is
|
|
|
|
kept for another round of Idle execution, if <see langword="false" /> is returned, the handler is removed.
|
2003-03-09 07:58:52 +00:00
|
|
|
</para>
|
2003-03-15 22:45:31 +00:00
|
|
|
<para>
|
2003-08-30 02:35:39 +00:00
|
|
|
This method can be invoked from a different thread than the
|
2003-03-09 07:58:52 +00:00
|
|
|
one running the Gtk main loop. The delegate will be
|
|
|
|
invoked within the context of the Gtk main loop.
|
|
|
|
</para>
|
2003-03-15 22:45:31 +00:00
|
|
|
<para>
|
2003-03-09 07:58:52 +00:00
|
|
|
The thread-safety of this routine can be used to queue
|
|
|
|
work by a thread to be performed in the context of the
|
|
|
|
main Gtk thread. Gtk# is thread aware, but not thread
|
2003-03-15 22:45:31 +00:00
|
|
|
safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread
|
2003-03-09 07:58:52 +00:00
|
|
|
Programming</link> for details.
|
|
|
|
</para>
|
2003-03-15 22:45:31 +00:00
|
|
|
</remarks>
|
2003-02-12 01:58:24 +00:00
|
|
|
</Docs>
|
|
|
|
</Member>
|
2009-05-14 18:32:22 +00:00
|
|
|
<Member MemberName="Add">
|
|
|
|
<MemberSignature Language="C#" Value="public static uint Add (GLib.IdleHandler hndlr, GLib.Priority priority);" />
|
2011-11-09 16:01:51 +00:00
|
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int32 Add(class GLib.IdleHandler hndlr, valuetype GLib.Priority priority) cil managed" />
|
2009-05-14 18:32:22 +00:00
|
|
|
<MemberType>Method</MemberType>
|
|
|
|
<ReturnValue>
|
|
|
|
<ReturnType>System.UInt32</ReturnType>
|
|
|
|
</ReturnValue>
|
|
|
|
<Parameters>
|
|
|
|
<Parameter Name="hndlr" Type="GLib.IdleHandler" />
|
|
|
|
<Parameter Name="priority" Type="GLib.Priority" />
|
|
|
|
</Parameters>
|
|
|
|
<Docs>
|
|
|
|
<param name="hndlr">To be added.</param>
|
|
|
|
<param name="priority">To be added.</param>
|
|
|
|
<summary>To be added.</summary>
|
|
|
|
<returns>To be added.</returns>
|
|
|
|
<remarks>To be added.</remarks>
|
|
|
|
<since version="Gtk# 2.14" />
|
|
|
|
</Docs>
|
|
|
|
</Member>
|
2003-12-24 01:35:30 +00:00
|
|
|
<Member MemberName="Remove">
|
|
|
|
<MemberSignature Language="C#" Value="public static bool Remove (GLib.IdleHandler hndlr);" />
|
2011-11-09 16:01:51 +00:00
|
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Remove(class GLib.IdleHandler hndlr) cil managed" />
|
2003-12-24 01:35:30 +00:00
|
|
|
<MemberType>Method</MemberType>
|
|
|
|
<ReturnValue>
|
|
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
|
|
</ReturnValue>
|
|
|
|
<Parameters>
|
|
|
|
<Parameter Name="hndlr" Type="GLib.IdleHandler" />
|
|
|
|
</Parameters>
|
|
|
|
<Docs>
|
2004-07-02 16:54:40 +00:00
|
|
|
<param name="hndlr">an <see cref="T:GLib.IdleHandler" /> to remove.</param>
|
2009-01-06 16:29:49 +00:00
|
|
|
<summary>Removes an Idle handler from the Main Loop.</summary>
|
2006-03-12 00:18:42 +00:00
|
|
|
<returns>The function will return true (a <see cref="T:System.Boolean" />) if the delegate was found and removed .</returns>
|
2004-07-02 16:54:40 +00:00
|
|
|
<remarks />
|
2003-12-24 01:35:30 +00:00
|
|
|
</Docs>
|
|
|
|
</Member>
|
2009-05-14 18:32:22 +00:00
|
|
|
<Member MemberName="Remove">
|
|
|
|
<MemberSignature Language="C#" Value="public static void Remove (uint id);" />
|
2011-11-09 16:01:51 +00:00
|
|
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Remove(unsigned int32 id) cil managed" />
|
2009-05-14 18:32:22 +00:00
|
|
|
<MemberType>Method</MemberType>
|
|
|
|
<ReturnValue>
|
|
|
|
<ReturnType>System.Void</ReturnType>
|
|
|
|
</ReturnValue>
|
|
|
|
<Parameters>
|
|
|
|
<Parameter Name="id" Type="System.UInt32" />
|
|
|
|
</Parameters>
|
|
|
|
<Docs>
|
|
|
|
<param name="id">To be added.</param>
|
|
|
|
<summary>To be added.</summary>
|
|
|
|
<remarks>To be added.</remarks>
|
|
|
|
<since version="Gtk# 2.14" />
|
|
|
|
</Docs>
|
|
|
|
</Member>
|
2003-02-12 01:58:24 +00:00
|
|
|
</Members>
|
2006-08-03 17:18:38 +00:00
|
|
|
</Type>
|