2003-07-17 06:35:10 +00:00
<Type Name= "Timeout" FullName= "Gtk.Timeout" >
2003-08-26 04:19:22 +00:00
<TypeSignature Language= "C#" Value= "public class Timeout" Maintainer= "John Luke" />
2003-07-17 06:35:10 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2006-08-04 19:43:19 +00:00
<AssemblyVersion > 2.10.0.0</AssemblyVersion>
2003-07-17 06:35:10 +00:00
</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 >
2003-08-26 04:19:22 +00:00
<summary > Registers a method to be called periodically.</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 />
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > System.Obsolete("Replaced by GLib.Timeout")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
</Attributes>
2003-07-17 06:35:10 +00:00
<Members >
<Member MemberName= "Add" >
<MemberSignature Language= "C#" Value= "public static uint Add (uint interval, Gtk.Function function);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters >
2003-08-26 04:19:22 +00:00
<Parameter Name= "interval" Type= "System.UInt32" />
<Parameter Name= "function" Type= "Gtk.Function" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-08-26 04:19:22 +00:00
<summary > Registers a <paramref name= "function" /> to be called periodically.</summary>
2006-10-08 13:57:07 +00:00
<param name= "interval" > number of miliseconds between function calls</param>
<param name= "function" > delegate that will be called until it return false</param>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:System.UInt32" /> </returns>
2004-09-21 17:19:28 +00:00
<remarks > The <paramref name= "function" /> will be called repeatedly after <paramref name= "interval" /> milliseconds until it returns <see langword= "false" /> at which point the <see cref= "T:Gtk.Timeout" /> is destroyed and will not be called again.
2006-10-08 13:57:07 +00:00
<block subset= "none" type= "note" > <para >
2004-09-21 17:19:28 +00:00
The first execution of the callback <paramref name= "function" /> will only occur after the <paramref name= "interval" /> has elapsed. In other words, it won't be executed right away after calling <see cref= "T:Gtk.Timeout.Add" /> .
2006-10-08 13:57:07 +00:00
</para> </block> </remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "AddFull" >
<MemberSignature Language= "C#" Value= "public static uint AddFull (uint interval, Gtk.Function function, Gtk.CallbackMarshal marshal, IntPtr data, Gtk.DestroyNotify destroy);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters >
2003-08-26 04:19:22 +00:00
<Parameter Name= "interval" 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-08-26 04:19:22 +00:00
<summary > Registers a <paramref name= "function" /> to be called periodically.</summary>
2003-07-17 06:35:10 +00:00
<param name= "interval" > 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-08-26 04:19:22 +00:00
<remarks > The <paramref name= "function" /> will be called repeatedly after <paramref name= "interval" /> milliseconds until it returns <see langword= "false" /> at which point the <see cref= "T:Gtk.Timeout" /> is destroyed and will not be called again.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "Remove" >
<MemberSignature Language= "C#" Value= "public static void Remove (uint timeout_handler_id);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-08-26 04:19:22 +00:00
<Parameter Name= "timeout_handler_id" Type= "System.UInt32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-08-26 04:19:22 +00:00
<summary > Removes the given timeout destroying all information about it.</summary>
2003-07-17 06:35:10 +00:00
<param name= "timeout_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= ".ctor" >
<MemberSignature Language= "C#" Value= "public Timeout ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2003-08-26 04:19:22 +00:00
<summary > Internal Constructor</summary>
<remarks > This should not be called directly by typical applications.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
</Members>
2007-01-16 16:18:05 +00:00
</Type>