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" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit MainContext 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-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
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
2009-01-06 16:29:49 +00:00
<Docs >
<summary > Manages events in the main context.</summary>
<remarks />
</Docs>
2003-02-12 01:58:24 +00:00
<Members >
2009-01-06 16:29:49 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public MainContext ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
2009-01-06 16:29:49 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
<summary > Create a new <see cref= "T:GLib.MainContext" /> instance.</summary>
<remarks > This is the default constructor for <see cref= "T:GLib.MainContext" /> .</remarks>
</Docs>
</Member>
2013-11-30 15:01:53 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public MainContext (IntPtr raw);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
<MemberType > Constructor</MemberType>
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
<param name= "raw" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
</Docs>
</Member>
2009-08-19 16:07:44 +00:00
<Member MemberName= "Default" >
<MemberSignature Language= "C#" Value= "public static GLib.MainContext Default { get; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property class GLib.MainContext Default" />
2009-08-19 16:07:44 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.MainContext</ReturnType>
</ReturnValue>
<Docs >
<summary > Returns the default main context.</summary>
<value >
</value>
<remarks >
</remarks>
<since version= "Gtk# 2.90" />
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Depth" >
<MemberSignature Language= "C#" Value= "public static int Depth { get; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property int32 Depth" />
2009-01-06 16:29:49 +00:00
<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>
2009-08-19 16:07:44 +00:00
<Member MemberName= "Equals" >
<MemberSignature Language= "C#" Value= "public override bool Equals (object o);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig virtual instance bool Equals(object o) cil managed" />
2009-08-19 16:07:44 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "o" Type= "System.Object" />
</Parameters>
<Docs >
<param name= "o" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.90" />
</Docs>
</Member>
<Member MemberName= "Finalize" >
<MemberSignature Language= "C#" Value= "~MainContext ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig virtual instance void Finalize() cil managed" />
2009-08-19 16:07:44 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.90" />
</Docs>
</Member>
<Member MemberName= "GetHashCode" >
<MemberSignature Language= "C#" Value= "public override int GetHashCode ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
2009-08-19 16:07:44 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.90" />
</Docs>
</Member>
2013-11-30 15:01:53 +00:00
<Member MemberName= "Handle" >
<MemberSignature Language= "C#" Value= "public IntPtr Handle { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance native int Handle" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.IntPtr</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
</Docs>
</Member>
2009-08-19 16:07:44 +00:00
<Member MemberName= "HasPendingEvents" >
<MemberSignature Language= "C#" Value= "public bool HasPendingEvents { get; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property instance bool HasPendingEvents" />
2009-08-19 16:07:44 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
<summary > Checks if any sources have pending events for the given context.</summary>
<value > An object of type <see cref= "T:System.Boolean" /> </value>
<remarks >
</remarks>
<since version= "Gtk# 2.90" />
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Iteration" >
<MemberSignature Language= "C#" Value= "public static bool Iteration ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public static hidebysig bool Iteration() cil managed" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2009-01-06 16:29:49 +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>
2009-01-06 16:29:49 +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= "Iteration" >
2009-08-19 16:07:44 +00:00
<MemberSignature Language= "C#" Value= "public static bool Iteration (bool may_block);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public static hidebysig bool Iteration(bool may_block) cil managed" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2009-08-19 16:07:44 +00:00
<Parameter Name= "may_block" Type= "System.Boolean" />
2003-08-30 02:35:39 +00:00
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2009-08-19 16:07:44 +00:00
<param name= "may_block" > an object of type <see cref= "T:System.Boolean" /> </param>
2009-01-06 16:29:49 +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>
2009-08-19 16:07:44 +00:00
<remarks > This is a convenience function for GLib.MainContext.Default.RunIteration(may_block).</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Pending" >
<MemberSignature Language= "C#" Value= "public static bool Pending ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public static hidebysig bool Pending() cil managed" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2009-01-06 16:29:49 +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>
2009-08-19 16:07:44 +00:00
<remarks > This is a convenince function for GLib.MainContext.Default.HasPendingEvents.</remarks>
</Docs>
</Member>
<Member MemberName= "PopThreadDefault" >
<MemberSignature Language= "C#" Value= "public void PopThreadDefault ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void PopThreadDefault() cil managed" />
2009-08-19 16:07:44 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.90" />
</Docs>
</Member>
<Member MemberName= "PushThreadDefault" >
<MemberSignature Language= "C#" Value= "public void PushThreadDefault ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void PushThreadDefault() cil managed" />
2009-08-19 16:07:44 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.90" />
</Docs>
</Member>
<Member MemberName= "RunIteration" >
<MemberSignature Language= "C#" Value= "public bool RunIteration ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance bool RunIteration() cil managed" />
2009-08-19 16:07:44 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Runs a single iteration for the given main loop.</summary>
<returns >
<see langword= "true" /> if successful.</returns>
<remarks > This is a convenience overload for GLib.MainContext.Default.RunIteration(System.Boolean) with <see langword= "false" /> passed in.</remarks>
<since version= "Gtk# 2.90" />
</Docs>
</Member>
<Member MemberName= "RunIteration" >
<MemberSignature Language= "C#" Value= "public bool RunIteration (bool may_block);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance bool RunIteration(bool may_block) cil managed" />
2009-08-19 16:07:44 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "may_block" Type= "System.Boolean" />
</Parameters>
<Docs >
<param name= "may_block" > To be added.</param>
<summary > Runs a single iteration for the given main loop.</summary>
<returns >
<see langword= "true" /> if successful.</returns>
<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>
<since version= "Gtk# 2.90" />
</Docs>
</Member>
<Member MemberName= "ThreadDefault" >
<MemberSignature Language= "C#" Value= "public GLib.MainContext ThreadDefault { get; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property instance class GLib.MainContext ThreadDefault" />
2009-08-19 16:07:44 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.MainContext</ReturnType>
</ReturnValue>
<Docs >
<summary > Returns the default MainContext for the current thread. If none exists, one will be created.</summary>
<value > To be added.</value>
<remarks > When being called from the Gtk# main loop, returns <see cref= "P:GLib.MainContext.Default" /> .</remarks>
<since version= "Gtk# 2.90" />
</Docs>
</Member>
<Member MemberName= "Wakeup" >
<MemberSignature Language= "C#" Value= "public void Wakeup ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Wakeup() cil managed" />
2009-08-19 16:07:44 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.90" />
2005-10-09 01:42:35 +00:00
</Docs>
</Member>
2003-02-12 01:58:24 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>