<Type Name="SetFocusHandler" FullName="Gtk.SetFocusHandler"> <TypeSignature Language="C#" Maintainer="auto" Value="public delegate void SetFocusHandler(object o, Gtk.SetFocusArgs args);" /> <AssemblyInfo> <AssemblyName>gtk-sharp</AssemblyName> <AssemblyVersion>2.8.0.0</AssemblyVersion> </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> <param name="o">To be added.</param> <param name="args">To be added.</param> <summary>Event handler.</summary> <remarks> <para>The <see cref="M:Gtk.Window.SetFocus" /> event utilizes this delegate:</para> <para>Event data is passed via the <see cref="T:Gtk.SetFocusArgs" /> parameter.</para> <para>To attach a <see cref="T:Gtk.SetFocusHandler" /> to an event, add the SetFocusHandler instance to the event. The methods referenced by the SetFocusHandler instance are invoked whenever the event is raised, until the SetFocusHandler is removed from the event.</para> </remarks> </Docs> <Base> <BaseTypeName>System.Delegate</BaseTypeName> </Base> <Members /> <Parameters> <Parameter Name="o" Type="System.Object" /> <Parameter Name="args" Type="Gtk.SetFocusArgs" /> </Parameters> <ReturnValue> <ReturnType>System.Void</ReturnType> </ReturnValue> </Type>