File: RadioButton.xml

package info (click to toggle)
gtk-sharp3 2.99.3-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 25,488 kB
  • sloc: xml: 308,885; cs: 38,796; sh: 11,336; perl: 1,295; makefile: 1,099; ansic: 903
file content (189 lines) | stat: -rw-r--r-- 9,281 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<Type Name="RadioButton" FullName="Gtk.RadioButton">
  <TypeSignature Language="C#" Maintainer="John Luke" Value="public class RadioButton : Gtk.CheckButton" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit RadioButton extends Gtk.CheckButton" />
  <AssemblyInfo>
    <AssemblyName>gtk-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
  </AssemblyInfo>
  <ThreadSafetyStatement />
  <Base>
    <BaseTypeName>Gtk.CheckButton</BaseTypeName>
  </Base>
  <Interfaces>
  </Interfaces>
  <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>
  <Members>
    <Member MemberName=".ctor">
      <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" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="radio_group_member" Type="Gtk.RadioButton" />
      </Parameters>
      <Docs>
        <param name="radio_group_member">a <see cref="T:Gtk.RadioButton" /></param>
        <summary>Creates a new <see cref="T:Gtk.RadioButton" /> instance.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public RadioButton (IntPtr raw);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="raw" Type="System.IntPtr" />
      </Parameters>
      <Docs>
        <param name="raw">a <see cref="T:System.IntPtr" />, pointer to the underlying C object.</param>
        <summary>Internal constructor</summary>
        <remarks>Not for general developer use.</remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public RadioButton (string label);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string label) cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="label" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="label">a <see cref="T:System.String" /></param>
        <summary>Creates a new <see cref="T:Gtk.RadioButton" /> instance.</summary>
        <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 radio_group_member, string label);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Gtk.RadioButton radio_group_member, string label) cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="radio_group_member" Type="Gtk.RadioButton" />
        <Parameter Name="label" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="radio_group_member">To be added.</param>
        <param name="label">a <see cref="T:System.String" /></param>
        <summary>Creates a new <see cref="T:Gtk.RadioButton" /> instance.</summary>
        <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="Group">
      <MemberSignature Language="C#" Value="public Gtk.RadioButton[] Group { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class Gtk.RadioButton[] Group" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Property("group")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>Gtk.RadioButton[]</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>sets and obtains a linked list with all the radio buttons in the same group.</summary>
        <value>a <see cref="T:GLib.SList" /> with all the radio buttons in the same group as this radio button.</value>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="GroupChanged">
      <MemberSignature Language="C#" Value="public event EventHandler GroupChanged;" />
      <MemberSignature Language="ILAsm" Value=".event class System.EventHandler GroupChanged" />
      <MemberType>Event</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Signal("group-changed")</AttributeName>
        </Attribute>
      </Attributes>
      <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>
        <since version="Gtk# 2.4" />
      </Docs>
    </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>
    </Member>
    <Member MemberName="OnGroupChanged">
      <MemberSignature Language="C#" Value="protected virtual void OnGroupChanged ();" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnGroupChanged() cil managed" />
      <MemberType>Method</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideGroupChanged", Type=typeof(Gtk.RadioButton))</AttributeName>
        </Attribute>
      </Attributes>
      <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>
        <since version="Gtk# 2.4" />
      </Docs>
    </Member>
  </Members>
</Type>