2003-07-17 06:35:10 +00:00
<Type Name= "Quit" FullName= "Gtk.Quit" >
2003-11-12 06:07:52 +00:00
<TypeSignature Language= "C#" Value= "public class Quit" Maintainer= "John Luke" />
2003-07-17 06:35:10 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-11-12 06:07:52 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-07-17 06:35:10 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
<AssemblyCulture > neutral</AssemblyCulture>
<Attributes />
</AssemblyInfo>
<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>
<Docs >
2004-09-06 14:51:09 +00:00
<summary > Object to encapsulate code for running at the end of program execution.</summary>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members >
<Member MemberName= "Remove" >
<MemberSignature Language= "C#" Value= "public static void Remove (uint quit_handler_id);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "quit_handler_id" Type= "System.UInt32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-11-12 06:07:52 +00:00
<summary > Removes a quit handler by its identifier.</summary>
2003-07-17 06:35:10 +00:00
<param name= "quit_handler_id" > a <see cref= "T:System.UInt32" /> </param>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "Add" >
<MemberSignature Language= "C#" Value= "public static uint Add (uint main_level, Gtk.Function function);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "main_level" Type= "System.UInt32" />
<Parameter Name= "function" Type= "Gtk.Function" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-11-12 06:07:52 +00:00
<summary > Registers a function to be called when an instance of the mainloop is left.</summary>
2003-07-17 06:35:10 +00:00
<param name= "main_level" > a <see cref= "T:System.UInt32" /> </param>
<param name= "function" > a <see cref= "T:Gtk.Function" /> </param>
<returns > a <see cref= "T:System.UInt32" /> </returns>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "AddFull" >
<MemberSignature Language= "C#" Value= "public static uint AddFull (uint main_level, Gtk.Function function, Gtk.CallbackMarshal marshal, IntPtr data, Gtk.DestroyNotify destroy);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "main_level" Type= "System.UInt32" />
<Parameter Name= "function" Type= "Gtk.Function" />
<Parameter Name= "marshal" Type= "Gtk.CallbackMarshal" />
<Parameter Name= "data" Type= "System.IntPtr" />
<Parameter Name= "destroy" Type= "Gtk.DestroyNotify" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-11-12 06:07:52 +00:00
<summary > Registers a function to be called when an instance of the mainloop is left.</summary>
2003-07-17 06:35:10 +00:00
<param name= "main_level" > a <see cref= "T:System.UInt32" /> </param>
<param name= "function" > a <see cref= "T:Gtk.Function" /> </param>
<param name= "marshal" > a <see cref= "T:Gtk.CallbackMarshal" /> </param>
<param name= "data" > a <see cref= "T:System.IntPtr" /> </param>
<param name= "destroy" > a <see cref= "T:Gtk.DestroyNotify" /> </param>
<returns > a <see cref= "T:System.UInt32" /> </returns>
2003-11-12 06:07:52 +00:00
<remarks >
<para > In comparison to <see cref= "M:Gtk.Quit.Add()" /> this function adds the possibility to pass a marshaller and a function to be called when the quit handler is freed.</para>
<para > The former can be used to run interpreted code instead of a compiled function while the latter can be used to free the information stored in data.</para>
2003-12-24 01:35:30 +00:00
</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "RemoveByData" >
<MemberSignature Language= "C#" Value= "public static void RemoveByData (IntPtr data);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "data" Type= "System.IntPtr" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-11-12 06:07:52 +00:00
<summary > Removes a quit handler identified by its <paramref name= "data" /> field.</summary>
2003-07-17 06:35:10 +00:00
<param name= "data" > a <see cref= "T:System.IntPtr" /> </param>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "AddDestroy" >
<MemberSignature Language= "C#" Value= "public static void AddDestroy (uint main_level, Gtk.Object objekt);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "main_level" Type= "System.UInt32" />
<Parameter Name= "objekt" Type= "Gtk.Object" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-11-12 06:07:52 +00:00
<summary > Trigger destruction of <paramref name= "objekt" /> in case the mainloop at level <paramref name= "main_level" /> is quit.</summary>
2003-07-17 06:35:10 +00:00
<param name= "main_level" > a <see cref= "T:System.UInt32" /> </param>
<param name= "objekt" > a <see cref= "T:Gtk.Object" /> </param>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Quit ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2003-11-12 06:07:52 +00:00
<summary > Default Constructor</summary>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Gtk.Quit" /> </returns>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
</Members>
2004-08-29 08:58:39 +00:00
</Type>