GtkSharp/doc/en/Gtk/Item.xml

220 lines
8.8 KiB
XML
Raw Normal View History

<Type Name="Item" FullName="Gtk.Item">
<TypeSignature Language="C#" Maintainer="John Luke" Value="public class Item : Gtk.Bin" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<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>
<summary>Abstract base class for <see cref="T:Gtk.MenuItem" />, <see cref="T:Gtk.ListItem" /> and <see cref="T:Gtk.TreeItem" />.</summary>
<remarks>The <see cref="T:Gtk.Item" /> widget is an abstract base class for <see cref="T:Gtk.MenuItem" />, <see cref="T:Gtk.ListItem" /> and <see cref="T:Gtk.TreeItem" />.</remarks>
</Docs>
<Base>
<BaseTypeName>Gtk.Bin</BaseTypeName>
</Base>
<Interfaces>
</Interfaces>
<Members>
<Member MemberName="Toggle">
<MemberSignature Language="C#" Value="public void Toggle ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emits the <see cref="E:Gtk.Item.Toggled" /> event on the given item.</summary>
<remarks>Emits the <see cref="E:Gtk.Item.Toggled" /> event on the given item.</remarks>
</Docs>
</Member>
<Member MemberName="Deselect">
<MemberSignature Language="C#" Value="public void Deselect ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emits the <see cref="E:Gtk.Item.Deselected" /> event on the given item.</summary>
<remarks>Emits the <see cref="E:Gtk.Item.Deselected" /> event on the given item.</remarks>
</Docs>
</Member>
<Member MemberName="Select">
<MemberSignature Language="C#" Value="public void Select ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emits the <see cref="E:Gtk.Item.Selected" /> event on the given item.</summary>
<remarks>Emits the <see cref="E:Gtk.Item.Selected" /> event on the given item.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Item (IntPtr raw);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>Internal constructor</summary>
<param name="raw">Pointer to the C object.</param>
<remarks>
<para>This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Deselected">
<MemberSignature Language="C#" Value="public event EventHandler Deselected;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emitted when the <see cref="T:Gtk.Item" /> is deselected.</summary>
<remarks>Emitted when the <see cref="T:Gtk.Item" /> is deselected.</remarks>
</Docs>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal(CName="deselect")</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="Selected">
<MemberSignature Language="C#" Value="public event EventHandler Selected;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emitted when the <see cref="T:Gtk.Item" /> is selected.</summary>
<remarks>Emitted when the <see cref="T:Gtk.Item" /> is selected.</remarks>
</Docs>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal(CName="select")</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="Toggled">
<MemberSignature Language="C#" Value="public event EventHandler Toggled;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emitted when the <see cref="T:Gtk.Item" /> is toggled.</summary>
<remarks>Emitted when the <see cref="T:Gtk.Item" /> is toggled.</remarks>
</Docs>
<Attributes>
<Attribute>
<AttributeName>GLib.Signal(CName="toggle")</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="GType">
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>GType Property.</summary>
<value>a <see cref="T:GLib.GType" /></value>
<remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Gtk.Item" />.</remarks>
</Docs>
</Member>
<Member MemberName="OnToggled">
<MemberSignature Language="C#" Value="protected virtual void OnToggled ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Item.Toggled" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Item.Toggled" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnSelected">
<MemberSignature Language="C#" Value="protected virtual void OnSelected ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Item.Selected" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Item.Selected" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnDeselected">
<MemberSignature Language="C#" Value="protected virtual void OnDeselected ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Item.Deselected" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Item.Deselected" /> event.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Item (GLib.GType gtype);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="gtype" Type="GLib.GType" />
</Parameters>
<Docs>
<summary>Protected Constructor.</summary>
<param name="gtype">a <see cref="T:GLib.GType" /></param>
<remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks>
</Docs>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Item ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Constructor</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="FactoriesPathDelete">
<MemberSignature Language="C#" Value="public static void FactoriesPathDelete (string ifactory_path, string path);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="ifactory_path" Type="System.String" />
<Parameter Name="path" Type="System.String" />
</Parameters>
<Docs>
<summary>Deletes all widgets constructed from the specified path.</summary>
<param name="ifactory_path">a <see cref="T:System.String" />, a factory path to prepend to <paramref name="path" />. May be <see langword="null" /> if <paramref name="path" /> starts with a factory path.</param>
<param name="path">a <see cref="T:System.String" />, a path</param>
<remarks>
</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
</Members>
</Type>