GtkSharp/doc/en/Gtk/KeyPressEventHandler.xml

37 lines
1.6 KiB
XML
Raw Normal View History

<Type Name="KeyPressEventHandler" FullName="Gtk.KeyPressEventHandler">
<TypeSignature Language="C#" Maintainer="auto" Value="public sealed delegate void KeyPressEventHandler (object o, Gtk.KeyPressEventArgs args);" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<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>
<summary>Event handler.</summary>
<remarks>
<para>The <see cref="M:Gtk.Widget.KeyPressEvent" /> event utilizes this delegate:</para>
<para>Event data is passed via the <see cref="T:Gtk.KeyPressEventArgs" /> parameter.</para>
<para>To attach a <see cref="T:Gtk.KeyPressEventHandler" /> to an event, add the KeyPressEventHandler instance to the event. The methods referenced by the KeyPressEventHandler instance are invoked whenever the event is raised, until the KeyPressEventHandler is removed from the event.</para>
</remarks>
</Docs>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.ICloneable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Runtime.Serialization.ISerializable</InterfaceName>
</Interface>
</Interfaces>
<Attributes />
<Members />
<Parameters>
<Parameter Name="o" Type="System.Object" />
<Parameter Name="args" Type="Gtk.KeyPressEventArgs" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
</Type>