<Type Name="ToggleActionEntry" FullName="Gtk.ToggleActionEntry">
  <TypeSignature Language="C#" Maintainer="auto" Value="public struct ToggleActionEntry" />
  <TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit ToggleActionEntry extends System.ValueType" />
  <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>
  <Base>
    <BaseTypeName>System.ValueType</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>A struct containing all the info necessary for creating an <see cref="T:Gtk.ToggleAction" /></summary>
    <remarks>
      <para>The ActionEntry struct is C# "syntactic sugar", designed to make it easier for developers to add <see cref="T:Gtk.ToggleAction" />s to their code.</para>
      <para>Instead of creating a new <see cref="T:Gtk.ToggleAction" /> object for each action, a developer can create an array of ToggleActionEntry's and add them to an <see cref="T:Gtk.ActionGroup" /> all at once using the <see cref="M:Gtk.ActionGroup.Add" /> method.</para>
    </remarks>
    <since version="Gtk# 2.4" />
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public ToggleActionEntry (string name, string stock_id);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string name, string stock_id) cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="name" Type="System.String" />
        <Parameter Name="stock_id" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="name">a <see cref="T:System.String" />, a unique name 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>
        <summary>Public constructor</summary>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public ToggleActionEntry (string name, string stock_id, EventHandler activated);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string name, string stock_id, class System.EventHandler activated) cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="name" Type="System.String" />
        <Parameter Name="stock_id" Type="System.String" />
        <Parameter Name="activated" Type="System.EventHandler" />
      </Parameters>
      <Docs>
        <param name="name">a <see cref="T:System.String" />, a unique name 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>
        <param name="activated">a <see cref="T:System.EventHandler" />, a method to call when the toggle action is activated</param>
        <summary>Public constructor</summary>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public ToggleActionEntry (string name, string stock_id, EventHandler activated, bool active);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string name, string stock_id, class System.EventHandler activated, bool active) cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="name" Type="System.String" />
        <Parameter Name="stock_id" Type="System.String" />
        <Parameter Name="activated" Type="System.EventHandler" />
        <Parameter Name="active" Type="System.Boolean" />
      </Parameters>
      <Docs>
        <param name="name">a <see cref="T:System.String" />, a unique name 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>
        <param name="activated">a <see cref="T:System.EventHandler" />, a method to call when the toggle action is activated</param>
        <param name="active">a <see cref="T:System.Boolean" />, <see langword="true" /> if the toggle action is currently checked</param>
        <summary>Public constructor</summary>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public ToggleActionEntry (string name, string stock_id, string label, string accelerator, string tooltip, EventHandler activated, bool active);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string name, string stock_id, string label, string accelerator, string tooltip, class System.EventHandler activated, bool active) cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="name" Type="System.String" />
        <Parameter Name="stock_id" Type="System.String" />
        <Parameter Name="label" Type="System.String" />
        <Parameter Name="accelerator" Type="System.String" />
        <Parameter Name="tooltip" Type="System.String" />
        <Parameter Name="activated" Type="System.EventHandler" />
        <Parameter Name="active" Type="System.Boolean" />
      </Parameters>
      <Docs>
        <param name="name">a <see cref="T:System.String" />, a unique name 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>
        <param name="label">a <see cref="T:System.String" />, the label displayed in menu items and on buttons</param>
        <param name="accelerator">a <see cref="T:System.String" />, the accelerator key sequence for the action</param>
        <param name="tooltip">a <see cref="T:System.String" />, a tooltip for the action</param>
        <param name="activated">a <see cref="T:System.EventHandler" />, a method to call when the toggle action is activated</param>
        <param name="active">a <see cref="T:System.Boolean" />, <see langword="true" /> if the toggle action is currently checked</param>
        <summary>Public constructor</summary>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="accelerator">
      <MemberSignature Language="C#" Value="public string accelerator;" />
      <MemberSignature Language="ILAsm" Value=".field public string accelerator" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The accelerator for the action, in the format understood by <see cref="M:Gtk.Accelerator.Parse()" />, or "" for no accelerator, or <see langword="null" /> to use the stock accelerator.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="activated">
      <MemberSignature Language="C#" Value="public EventHandler activated;" />
      <MemberSignature Language="ILAsm" Value=".field public class System.EventHandler activated" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.EventHandler</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>EventHandler to be called when the action is triggered.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="active">
      <MemberSignature Language="C#" Value="public bool active;" />
      <MemberSignature Language="ILAsm" Value=".field public bool active" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>Boolean value indicating whether the initial state of the ToggleAction is "on" or "off".</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="label">
      <MemberSignature Language="C#" Value="public string label;" />
      <MemberSignature Language="ILAsm" Value=".field public string label" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The label used for menu items and buttons that activate this action.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="name">
      <MemberSignature Language="C#" Value="public string name;" />
      <MemberSignature Language="ILAsm" Value=".field public string name" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>A unique name for the action.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="stock_id">
      <MemberSignature Language="C#" Value="public string stock_id;" />
      <MemberSignature Language="ILAsm" Value=".field public string stock_id" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The stock icon displayed in widgets representing this action.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="tooltip">
      <MemberSignature Language="C#" Value="public string tooltip;" />
      <MemberSignature Language="ILAsm" Value=".field public string tooltip" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>A tooltip for this action.</summary>
        <remarks />
      </Docs>
    </Member>
  </Members>
</Type>
