2003-02-12 02:00:12 +00:00
<Type Name= "CheckMenuItem" FullName= "Gtk.CheckMenuItem" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "Lee Mallabone" Value= "public class CheckMenuItem : Gtk.MenuItem" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit CheckMenuItem extends Gtk.MenuItem" />
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>
2003-02-23 07:26:30 +00:00
<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.MenuItem</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-25 14:22:39 +00:00
<summary > A menu item with a check box.</summary>
2003-03-07 01:30:00 +00:00
<remarks >
<para > A CheckMenuItem is a menu item that maintains the state of a boolean value in addition to a <see cref= "T:Gtk.MenuItem" /> 's usual role in activating application code.</para>
<para > A check box indicating the state of the boolean value is displayed at the left side of the <see cref= "T:Gtk.MenuItem" /> . Activating the <see cref= "T:Gtk.MenuItem" /> toggles the value.</para>
<para > Whether the CheckMenuItem is 'on' or not can be determined with the <see cref= "P:Gtk.CheckMenuItem.Active" /> property.</para>
2003-02-25 14:22:39 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Members >
2011-11-09 16:01:51 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CheckMenuItem ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType > Constructor</MemberType>
<ReturnValue />
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Creates a CheckMenuItem with no label</summary>
2003-03-07 01:30:00 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CheckMenuItem (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 >
2003-02-23 07:26:30 +00:00
<param name= "raw" > Pointer to the C object.</param>
2011-11-09 16:01:51 +00:00
<summary > Internal constructor</summary>
2003-02-23 07:26:30 +00:00
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CheckMenuItem (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 >
2003-02-25 14:22:39 +00:00
<param name= "label" > The text to appear on the menu item.</param>
2011-11-09 16:01:51 +00:00
<summary > Create a new CheckMenuItem with the specified <paramref name= "label" /> .</summary>
2003-03-07 01:30:00 +00:00
<remarks >
<para > The text label will be created using <see cref= "M:Gtk.Label.NewWithNmemonic" /> , so underscores in the label indicate the mnemonic for the menu item.</para>
</remarks>
2003-02-12 02:00:12 +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" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</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.Property("active")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2003-02-12 02:00:12 +00:00
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-25 14:22:39 +00:00
<summary > The 'active' state of the CheckMenuItem</summary>
2005-05-23 20:41:51 +00:00
<value />
2003-03-07 01:30:00 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "DrawAsRadio" >
<MemberSignature Language= "C#" Value= "public bool DrawAsRadio { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance bool DrawAsRadio" />
<MemberType > Property</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.Property("draw-as-radio")</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.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Whether the menu item looks like a radio menu item.</summary>
<value > a <see cref= "T:System.Boolean" /> </value>
<remarks >
</remarks>
<since version= "Gtk# 2.4" />
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "EmitToggled" >
<MemberSignature Language= "C#" Value= "public void EmitToggled ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void EmitToggled() cil managed" />
<MemberType > Method</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Fires the <see cref= "E:Gtk.CheckMenuItem.Toggle" /> event.</summary>
2003-03-07 01:30:00 +00:00
<remarks >
</remarks>
2011-11-09 16:01:51 +00:00
<since version= "Gtk# 2.4" />
2003-03-07 01:30:00 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property valuetype GLib.GType GType" />
2003-12-24 01:35:30 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<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.CheckMenuItem" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Inconsistent" >
<MemberSignature Language= "C#" Value= "public bool Inconsistent { get; set; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance bool Inconsistent" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property("inconsistent")</AttributeName>
</Attribute>
</Attributes>
2003-12-24 01:35:30 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Boolean</ReturnType>
2003-12-24 01:35:30 +00:00
</ReturnValue>
2003-03-07 01:30:00 +00:00
<Parameters >
2003-09-17 21:56:59 +00:00
</Parameters>
2003-03-07 01:30:00 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Manages whether the CheckMenuItem is in the 'inconsistent' state.</summary>
<value >
<see langword= "true" /> if this CheckMenuItem is in the inconsistent state, <see langword= "false" /> otherwise.</value>
<remarks >
<para > If the user has selected a range of elements (such as some text or spreadsheet cells) that are affected by a boolean setting, and the current values in that range are inconsistent, you may want to display the check in an "in between" state. This property turns on "in between" display.</para>
<para > Normally you would turn off the inconsistent state again if the user explicitly selects a setting. This has to be done manually, this property only affects visual appearance, it doesn't affect the semantics of the widget.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "OnDrawIndicator" >
<MemberSignature Language= "C#" Value= "protected virtual void OnDrawIndicator (Cairo.Context cr);" />
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig newslot virtual instance void OnDrawIndicator(class Cairo.Context cr) 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="OverrideDrawIndicator", Type=typeof(Gtk.CheckMenuItem))</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
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>
2011-11-09 16:01:51 +00:00
<Parameters >
<Parameter Name= "cr" Type= "Cairo.Context" />
</Parameters>
2004-11-05 21:25:40 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "cr" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 3.0" />
2004-11-05 21:25:40 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</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.CheckMenuItem))</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.CheckMenuItem.Toggled" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.CheckMenuItem.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>
2011-11-09 16:01:51 +00:00
<Parameters />
2004-11-05 21:25:40 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Toggles the state of the check box between active and inactive.</summary>
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
2011-11-09 16:01:51 +00:00
</Member>
<Member MemberName= "Toggled" >
<MemberSignature Language= "C#" Value= "public event EventHandler Toggled;" />
<MemberSignature Language= "ILAsm" Value= ".event class System.EventHandler Toggled" />
<MemberType > Event</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.Signal("toggled")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
2004-12-21 18:46:42 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.EventHandler</ReturnType>
2004-12-21 18:46:42 +00:00
</ReturnValue>
<Parameters />
<Docs >
2011-11-09 16:01:51 +00:00
<summary > An event that is raised whenever the state of the CheckMenuItem is toggled.</summary>
2005-04-22 17:20:16 +00:00
<remarks >
2011-11-09 16:01:51 +00:00
<para > Connect to this event with a standard <see cref= "T:System.EventHandler" /> .</para>
2005-04-22 17:20:16 +00:00
</remarks>
2004-12-21 18:46:42 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>