2003-02-12 01:58:24 +00:00
<Type Name= "MainContext" FullName= "GLib.MainContext" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public class MainContext" Maintainer= "auto" />
2003-02-12 01:58:24 +00:00
<AssemblyInfo >
<AssemblyName > glib-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2007-12-06 17:36:20 +00:00
<AssemblyVersion > 2.12.0.0</AssemblyVersion>
2003-02-12 01:58:24 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 01:58:24 +00:00
<Docs >
2004-07-27 21:00:05 +00:00
<summary > Manages events in the main context.</summary>
<remarks />
2003-02-12 01:58:24 +00:00
</Docs>
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members >
<Member MemberName= "Pending" >
<MemberSignature Language= "C#" Value= "public static bool Pending ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-27 21:00:05 +00:00
<summary > Checks if any sources have pending events for the given context.</summary>
2003-08-30 02:35:39 +00:00
<returns > an object of type <see cref= "T:System.Boolean" /> </returns>
2004-07-27 21:00:05 +00:00
<remarks />
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
<Member MemberName= "Iteration" >
<MemberSignature Language= "C#" Value= "public static bool Iteration (bool MayBlock);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "MayBlock" Type= "System.Boolean" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2004-07-27 21:00:05 +00:00
<summary > Runs a single iteration for the given main loop.</summary>
2003-08-30 02:35:39 +00:00
<param name= "MayBlock" > an object of type <see cref= "T:System.Boolean" /> </param>
<returns > an object of type <see cref= "T:System.Boolean" /> </returns>
2004-07-27 21:00:05 +00:00
<remarks > This involves checking to see if any event sources are ready to be processed, then if no events sources are ready and <paramref name= "may_block" /> is <see langword= "true" /> , waiting for a source to become ready, then dispatching the highest priority events sources that are ready. Note that even when <paramref name= "may_block" /> is <see langword= "true" /> , it is still possible for g_main_context_iteration() to return <see langword= "false" /> , since the the wait may be interrupted for other reasons than an event source becoming ready.</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
<Member MemberName= "Iteration" >
<MemberSignature Language= "C#" Value= "public static bool Iteration ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-27 21:00:05 +00:00
<summary > Runs a single iteration for the given main loop.</summary>
2003-08-30 02:35:39 +00:00
<returns > an object of type <see cref= "T:System.Boolean" /> </returns>
2004-07-27 21:00:05 +00:00
<remarks > This is a convenience overload for <see cref= "M:GLib.MainContext.Iteration(System.Boolean)" /> with <see langword= "false" /> passed in.</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public MainContext ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2003-08-30 02:35:39 +00:00
<summary > Create a new <see cref= "T:GLib.MainContext" /> instance.</summary>
<remarks > This is the default constructor for <see cref= "T:GLib.MainContext" /> .</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2005-10-09 01:42:35 +00:00
<Member MemberName= "Depth" >
<MemberSignature Language= "C#" Value= "public static int Depth { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
<summary > Nesting level of the currently executing main loop.</summary>
<value > A count of main loop levels.</value>
<remarks />
</Docs>
</Member>
2003-02-12 01:58:24 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>