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" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2007-12-06 18:37:54 +00:00
<AssemblyVersion > 2.12.0.0</AssemblyVersion>
2003-02-12 02:00:12 +00:00
</AssemblyInfo>
2004-01-09 01:32:46 +00:00
<ThreadSafetyStatement />
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>
<Base >
<BaseTypeName > Gtk.CheckButton</BaseTypeName>
</Base>
2007-01-16 16:18:05 +00:00
<Interfaces >
</Interfaces>
2003-02-12 02:00:12 +00:00
<Members >
2004-01-09 01:32:46 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected RadioButton (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
2003-02-12 02:00:12 +00:00
<Parameters >
2004-01-09 01:32:46 +00:00
<Parameter Name= "gtype" Type= "GLib.GType" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-01-09 01:32:46 +00:00
<summary > Internal constructor</summary>
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
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
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > System.Obsolete</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public RadioButton (IntPtr raw);" />
<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 >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
2004-09-06 14:49:53 +00:00
<param name= "raw" > a <see cref= "T:System.IntPtr" /> , pointer to the underlying C object.</param>
<remarks > Not for general developer use.</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);" />
2003-02-12 02:00:12 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2008-02-29 18:27:23 +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 >
2004-01-09 01:32:46 +00:00
<summary > Creates a new <see cref= "T:Gtk.RadioButton" /> instance.</summary>
2008-02-29 18:27:23 +00:00
<param name= "radio_group_member" > a <see cref= "T:Gtk.RadioButton" /> </param>
2004-11-05 21:25:40 +00:00
<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);" />
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
<summary > Creates a new <see cref= "T:Gtk.RadioButton" /> instance.</summary>
<param name= "label" > a <see cref= "T:System.String" /> </param>
<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);" />
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>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2003-12-24 01:35:30 +00:00
<ReturnType > GLib.GType</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters />
2003-02-12 02:00:12 +00:00
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.RadioButton" /> .</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-01-12 22:48:13 +00:00
<Member MemberName= "Group" >
<MemberSignature Language= "C#" Value= "public GLib.SList Group { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.SList</ReturnType>
</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;" />
<MemberType > Event</MemberType>
<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>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Signal("group-changed")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "OnGroupChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnGroupChanged ();" />
<MemberType > Method</MemberType>
<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>