mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 19:05:39 +00:00
2b6efdc91c
* en/*/*.xml : document GType props via script-fu. 620 TBAs killed. svn path=/trunk/gtk-sharp/; revision=30066
162 lines
6.7 KiB
XML
162 lines
6.7 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>To be added</summary>
|
|
<remarks>To be added</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>To be added</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" /></param>
|
|
<returns>a <see cref="T:Gtk.RadioButton" /></returns>
|
|
<remarks>To be added</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>To be added</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>To be added</summary>
|
|
<returns>a <see cref="T:GLib.SList" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |