mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 08:15:43 +00:00
163cacb30f
* en/Gtk/Widget.xml: finish * en/Gtk/Window.xml: finish * en/Gtk/*.xml: random stuff, mostly enums svn path=/trunk/gtk-sharp/; revision=38021
191 lines
8.1 KiB
XML
191 lines
8.1 KiB
XML
<Type Name="RadioButton" FullName="Gtk.RadioButton">
|
|
<TypeSignature Language="C#" Value="public class RadioButton : Gtk.CheckButton, Implementor, IWrapper, IDisposable" Maintainer="John Luke" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gtk-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>0.0.0.0</AssemblyVersion>
|
|
<AssemblyCulture>neutral</AssemblyCulture>
|
|
<Attributes />
|
|
</AssemblyInfo>
|
|
<ThreadSafetyStatement />
|
|
<Docs>
|
|
<summary>A choice from multiple buttons in a group.</summary>
|
|
<remarks>
|
|
<para>A single radio button performs the same basic function as a <see cref="Gtk.CheckButton" />, as its position in the object hierarchy reflects. It is only when multiple radio buttons are grouped together that they become a different user interface component in their own right.</para>
|
|
<para>Every radio button is a member of some group of radio buttons. When one is selected, all other radio buttons in the same group are deselected. A <see cref="T:Gtk.RadioButton" /> is one way of giving the user a choice from many options.</para>
|
|
<para>Radio button widgets are created with <see cref="C:Gtk.RadioButton(System.String)" />, if this is the first radio button in a group. In subsequent calls, the group you wish to add this button to should be passed as an argument.</para>
|
|
</remarks>
|
|
</Docs>
|
|
<Base>
|
|
<BaseTypeName>Gtk.CheckButton</BaseTypeName>
|
|
</Base>
|
|
<Interfaces>
|
|
<Interface>
|
|
<InterfaceName>Atk.Implementor</InterfaceName>
|
|
</Interface>
|
|
<Interface>
|
|
<InterfaceName>GLib.IWrapper</InterfaceName>
|
|
</Interface>
|
|
<Interface>
|
|
<InterfaceName>System.IDisposable</InterfaceName>
|
|
</Interface>
|
|
</Interfaces>
|
|
<Attributes />
|
|
<Members>
|
|
<Member MemberName="Finalize">
|
|
<MemberSignature Language="C#" Value="protected override void Finalize ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Protected method to be called on garbage collection.</summary>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="protected RadioButton (GLib.GType gtype);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="gtype" Type="GLib.GType" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Internal constructor</summary>
|
|
<param name="gtype">a <see cref="T:GLib.GType" /></param>
|
|
<returns>a <see cref="T:Gtk.RadioButton" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public RadioButton (IntPtr raw);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="raw" Type="System.IntPtr" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Internal constructor</summary>
|
|
<param name="raw">a <see cref="T:System.IntPtr" />, pointer to the underlying C object.</param>
|
|
<returns>a <see cref="T:Gtk.RadioButton" /></returns>
|
|
<remarks>Not for general developer use.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public RadioButton (Gtk.RadioButton group);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="group" Type="Gtk.RadioButton" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Creates a new <see cref="T:Gtk.RadioButton" /> instance.</summary>
|
|
<param name="group">a <see cref="T:Gtk.RadioButton" /></param>
|
|
<returns>a <see cref="T:Gtk.RadioButton" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public RadioButton (string label);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="label" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Creates a new <see cref="T:Gtk.RadioButton" /> instance.</summary>
|
|
<param name="label">a <see cref="T:System.String" /></param>
|
|
<returns>a <see cref="T:Gtk.RadioButton" /></returns>
|
|
<remarks>Creates a new <see cref="T:Gtk.RadioButton" /> in its own group.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public RadioButton (Gtk.RadioButton group, string label);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="group" Type="Gtk.RadioButton" />
|
|
<Parameter Name="label" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Creates a new <see cref="T:Gtk.RadioButton" /> instance.</summary>
|
|
<param name="group">a <see cref="T:Gtk.RadioButton" /></param>
|
|
<param name="label">a <see cref="T:System.String" /></param>
|
|
<returns>a <see cref="T:Gtk.RadioButton" /></returns>
|
|
<remarks>Creates a RadioButton with the specified label and adds the newly created RadioButton to the same group as the RadioButton specified as the group parameter.
|
|
|
|
<example>
|
|
<code lang="C#">
|
|
// Example of creating two radio buttons in the same greoup
|
|
RadioButton radioButton1;
|
|
RadioButton radioButton2;
|
|
|
|
// create first radio button allowing it to create it's own RadioButton Group
|
|
radioButton1 = new RadioButton("Single Radio Button in it's own group");
|
|
|
|
// create second radio button. supply first radio button so that this one can be added
|
|
// to the first radio button's group
|
|
radioButton2 = new RadioButton(radioButton1, "Second radio button in the same group as radioButton1");
|
|
</code>
|
|
</example></remarks>
|
|
</Docs>
|
|
</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>
|
|
<returns>a <see cref="T:GLib.GType" /></returns>
|
|
<remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Gtk.RadioButton" />.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Group">
|
|
<MemberSignature Language="C#" Value="public GLib.SList Group { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>GLib.SList</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>sets and obtains a linked list with all the radio buttons in the same group.</summary>
|
|
<returns>a <see cref="T:GLib.SList" /> with all the radio buttons in the same group as this radio button.</returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GroupChanged">
|
|
<MemberSignature Language="C#" Value="public event EventHandler GroupChanged;" />
|
|
<MemberType>Event</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.EventHandler</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Emitted when the group of radio buttons that a
|
|
radio button belongs to changes.</summary>
|
|
<remarks>This is emitted when a radio button switches from
|
|
being alone to being part of a group of 2 or more buttons, or
|
|
vice-versa, and when a buttton is moved from one group of 2 or
|
|
more buttons to a different one, but not when the composition
|
|
of the group that a button belongs to changes.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="OnGroupChanged">
|
|
<MemberSignature Language="C#" Value="protected virtual void OnGroupChanged ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Default handler for the <see cref="M:Gtk.RadioButton.GroupChanged" /> event.</summary>
|
|
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.RadioButton.GroupChanged" /> event.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |