2003-02-12 02:00:12 +00:00
<Type Name= "RadioButton" FullName= "Gtk.RadioButton" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "John Luke" Value= "public class RadioButton : Gtk.CheckButton" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit RadioButton extends Gtk.CheckButton" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 02:00:12 +00:00
</AssemblyInfo>
2004-01-09 01:32:46 +00:00
<ThreadSafetyStatement />
2011-11-09 16:01:51 +00:00
<Base >
<BaseTypeName > Gtk.CheckButton</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
2003-02-12 02:00:12 +00:00
<Docs >
2004-01-09 01:32:46 +00:00
<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>
2004-01-12 22:48:13 +00:00
<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>
2003-02-12 02:00:12 +00:00
</Docs>
<Members >
2004-01-09 01:32:46 +00:00
<Member MemberName= ".ctor" >
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "C#" Value= "public RadioButton (Gtk.RadioButton radio_group_member);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(class Gtk.RadioButton radio_group_member) cil managed" />
2004-01-09 01:32:46 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
2003-02-12 02:00:12 +00:00
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "radio_group_member" Type= "Gtk.RadioButton" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "radio_group_member" > a <see cref= "T:Gtk.RadioButton" /> </param>
<summary > Creates a new <see cref= "T:Gtk.RadioButton" /> instance.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public RadioButton (IntPtr raw);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
2003-02-12 02:00:12 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-09-06 14:49:53 +00:00
<param name= "raw" > a <see cref= "T:System.IntPtr" /> , pointer to the underlying C object.</param>
2011-11-09 16:01:51 +00:00
<summary > Internal constructor</summary>
2004-09-06 14:49:53 +00:00
<remarks > Not for general developer use.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
2004-01-09 01:32:46 +00:00
<MemberSignature Language= "C#" Value= "public RadioButton (string label);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(string label) cil managed" />
2003-02-12 02:00:12 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "label" Type= "System.String" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-01-09 01:32:46 +00:00
<param name= "label" > a <see cref= "T:System.String" /> </param>
2011-11-09 16:01:51 +00:00
<summary > Creates a new <see cref= "T:Gtk.RadioButton" /> instance.</summary>
2004-01-09 01:32:46 +00:00
<remarks > Creates a new <see cref= "T:Gtk.RadioButton" /> in its own group.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
2008-02-29 18:27:23 +00:00
<MemberSignature Language= "C#" Value= "public RadioButton (Gtk.RadioButton radio_group_member, string label);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(class Gtk.RadioButton radio_group_member, string label) cil managed" />
2003-02-12 02:00:12 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
2003-12-24 01:35:30 +00:00
<Parameters >
2008-02-29 18:27:23 +00:00
<Parameter Name= "radio_group_member" Type= "Gtk.RadioButton" />
2004-01-09 01:32:46 +00:00
<Parameter Name= "label" Type= "System.String" />
2003-12-24 01:35:30 +00:00
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2008-02-29 18:27:23 +00:00
<param name= "radio_group_member" > To be added.</param>
2004-01-09 01:32:46 +00:00
<param name= "label" > a <see cref= "T:System.String" /> </param>
2008-02-29 18:27:23 +00:00
<summary > Creates a new <see cref= "T:Gtk.RadioButton" /> instance.</summary>
2004-01-13 21:25:07 +00:00
<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.
2007-01-16 16:18:05 +00:00
<example > <code lang= "C#" >
2004-01-13 21:25:07 +00:00
// 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");
2007-01-16 16:18:05 +00:00
</code> </example> </remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-01-12 22:48:13 +00:00
<Member MemberName= "Group" >
2013-11-30 15:01:53 +00:00
<MemberSignature Language= "C#" Value= "public Gtk.RadioButton[] Group { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance class Gtk.RadioButton[] Group" />
2004-01-12 22:48:13 +00:00
<MemberType > Property</MemberType>
2013-11-30 15:01:53 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property("group")</AttributeName>
</Attribute>
</Attributes>
2004-01-12 22:48:13 +00:00
<ReturnValue >
2013-11-30 15:01:53 +00:00
<ReturnType > Gtk.RadioButton[]</ReturnType>
2004-01-12 22:48:13 +00:00
</ReturnValue>
<Parameters />
<Docs >
2004-07-07 18:28:18 +00:00
<summary > sets and obtains a linked list with all the radio buttons in the same group.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.SList" /> with all the radio buttons in the same group as this radio button.</value>
2004-07-07 18:28:18 +00:00
<remarks />
2004-01-12 22:48:13 +00:00
</Docs>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "GroupChanged" >
<MemberSignature Language= "C#" Value= "public event EventHandler GroupChanged;" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".event class System.EventHandler GroupChanged" />
2004-11-05 21:25:40 +00:00
<MemberType > Event</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Signal("group-changed")</AttributeName>
</Attribute>
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-17 17:47:57 +00:00
<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>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property valuetype GLib.GType GType" />
<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.RadioButton" /> .</remarks>
</Docs>
</Member>
<Member MemberName= "JoinGroup" >
<MemberSignature Language= "C#" Value= "public void JoinGroup (Gtk.RadioButton group_source);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void JoinGroup(class Gtk.RadioButton group_source) cil managed" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "group_source" Type= "Gtk.RadioButton" />
</Parameters>
<Docs >
<param name= "group_source" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "OnGroupChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnGroupChanged ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig newslot virtual instance void OnGroupChanged() cil managed" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.DefaultSignalHandler(ConnectionMethod="OverrideGroupChanged", Type=typeof(Gtk.RadioButton))</AttributeName>
</Attribute>
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-08 02:37:02 +00:00
<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>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>