svn path=/trunk/gtk-sharp/; revision=74383
This commit is contained in:
Miguel de Icaza 2007-03-15 15:27:03 +00:00
parent e2b1f2b6b1
commit 67e0177c0b

View File

@ -12,9 +12,11 @@
It's in a way very similar to a System.Windows.Forms.Timer class.
You can use timeouts to invoke routines at specified intervals of time.
The diferance between GLib.Timeout and System.Windows.Forms.Timer is that Timeouts are always invoked on the thread that owns the Gtk mainloop
<example><code lang="C#">
</summary>
<remarks>
<para>Use the <see cref="M:GLib.Timeout.Add" /> method to install timeout handlers into the mainloop.</para>
<example>
<code lang="C#">
void StartClock ()
{
GLib.Timeout.Add(1000, new GLib.TimeoutHandler(update_status));
@ -28,8 +30,9 @@ The diferance between GLib.Timeout and System.Windows.Forms.Timer is that Timeou
//terminate the timeout.
return true;
}
</code></example></summary>
<remarks>Use the <see cref="M:GLib.Timeout.Add" /> method to install timeout handlers into the mainloop.</remarks>
</code>
</example>
</remarks>
</Docs>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
@ -62,4 +65,4 @@ Invocation of the delegate may be delayed by other event processing, so this mec
</Docs>
</Member>
</Members>
</Type>
</Type>