2004-11-05 21:25:40 +00:00
<Type Name= "ToggleAction" FullName= "Gtk.ToggleAction" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class ToggleAction : Gtk.Action" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit ToggleAction extends Gtk.Action" />
2004-11-05 21:25:40 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
<AssemblyPublicKey > [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
</AssemblyInfo>
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2011-11-09 16:01:51 +00:00
<Base >
<BaseTypeName > Gtk.Action</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
2004-11-05 21:25:40 +00:00
<Docs >
2005-01-05 22:40:29 +00:00
<summary > An action which can be toggled between two states</summary>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
<Members >
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ToggleAction (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" />
2004-11-05 21:25:40 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
2005-05-23 20:41:51 +00:00
<param name= "raw" > a <see cref= "T:System.IntPtr" /> </param>
2011-11-09 16:01:51 +00:00
<summary > Internal constructor</summary>
2005-05-23 20:41:51 +00:00
<remarks > This is not typically used by C# code.</remarks>
</Docs>
2004-11-05 21:25:40 +00:00
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ToggleAction (string name, string label, string tooltip, string stock_id);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(string name, string label, string tooltip, string stock_id) cil managed" />
2004-11-05 21:25:40 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "name" Type= "System.String" />
<Parameter Name= "label" Type= "System.String" />
<Parameter Name= "tooltip" Type= "System.String" />
<Parameter Name= "stock_id" Type= "System.String" />
</Parameters>
<Docs >
2005-01-05 22:40:29 +00:00
<param name= "name" > a <see cref= "T:System.String" /> , a unique name for the action</param>
<param name= "label" > a <see cref= "T:System.String" /> , the label displayed in menu items and on buttons</param>
<param name= "tooltip" > a <see cref= "T:System.String" /> , a tooltip for the action</param>
<param name= "stock_id" > a <see cref= "T:System.String" /> , the stock icon to display in widgets representing the action</param>
2011-11-09 16:01:51 +00:00
<summary > Public constructor.</summary>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Active" >
<MemberSignature Language= "C#" Value= "public bool Active { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance bool Active" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property("active")</AttributeName>
</Attribute>
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Boolean</ReturnType>
2004-11-05 21:25:40 +00:00
</ReturnValue>
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Sets the checked state on the toggle action.</summary>
<value > a <see cref= "T:System.Boolean" /> , <see langword= "true" /> if checked</value>
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "DrawAsRadio" >
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "C#" Value= "public bool DrawAsRadio { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance bool DrawAsRadio" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property("draw-as-radio")</AttributeName>
</Attribute>
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-01-05 22:40:29 +00:00
<summary >
Whether the action should have proxies like a radio action.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </value>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
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.ToggleAction" /> .</remarks>
</Docs>
</Member>
<Member MemberName= "OnToggled" >
<MemberSignature Language= "C#" Value= "protected virtual void OnToggled ();" />
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig newslot virtual instance void OnToggled() cil managed" />
<MemberType > Method</MemberType>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2011-11-09 16:01:51 +00:00
<AttributeName > GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggled", Type=typeof(Gtk.ToggleAction))</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2011-11-09 16:01:51 +00:00
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Default handler for the <see cref= "M:Gtk.ToggleAction.Toggled" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.ToggleAction.Toggled" /> event.</remarks>
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Toggle" >
<MemberSignature Language= "C#" Value= "public void Toggle ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Toggle() cil managed" />
<MemberType > Method</MemberType>
2004-11-05 21:25:40 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2004-11-05 21:25:40 +00:00
</ReturnValue>
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Fires the <see cref= "E:Gtk.ToggleAction.Toggled" /> event.</summary>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2007-01-16 16:18:05 +00:00
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "Toggled" >
<MemberSignature Language= "C#" Value= "public event EventHandler Toggled;" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".event class System.EventHandler Toggled" />
2004-11-05 21:25:40 +00:00
<MemberType > Event</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Signal("toggled")</AttributeName>
</Attribute>
</Attributes>
2004-11-05 21:25:40 +00:00
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-09-19 00:36:43 +00:00
<summary > Event raised when the toggle is changed.</summary>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2004-11-05 21:25:40 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>