<Type Name="ButtonBox" FullName="Gtk.ButtonBox"> <TypeSignature Language="C#" Maintainer="Lee Mallabone" Value="public class ButtonBox : Gtk.Box" /> <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ButtonBox extends Gtk.Box" /> <AssemblyInfo> <AssemblyName>gtk-sharp</AssemblyName> <AssemblyPublicKey> </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>Gtk.Box</BaseTypeName> </Base> <Interfaces> </Interfaces> <Docs> <summary>ButtonBox is a container for laying out <see cref="T:Gtk.Button" /> widgets.</summary> <remarks> <para>A button box should be used to provide a consistent layout of buttons throughout your application. Specific button boxes are <see cref="T:Gtk.HButtonBox" /> for horizontal groups of buttons, and <see cref="T:Gtk.VButtonBox" /> for vertical button groups.</para> </remarks> </Docs> <Members> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="public ButtonBox (Gtk.Orientation orientation);" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype Gtk.Orientation orientation) cil managed" /> <MemberType>Constructor</MemberType> <Parameters> <Parameter Name="orientation" Type="Gtk.Orientation" /> </Parameters> <Docs> <param name="orientation">To be added.</param> <summary>To be added.</summary> <remarks>To be added.</remarks> <since version="Gtk# 3.0" /> </Docs> </Member> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="public ButtonBox (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">Pointer to the C object.</param> <summary>Internal constructor</summary> <remarks> <para>This is an internal constructor, and should not be used by user code.</para> </remarks> </Docs> </Member> <Member MemberName="GetChildSecondary"> <MemberSignature Language="C#" Value="public bool GetChildSecondary (Gtk.Widget child);" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool GetChildSecondary(class Gtk.Widget child) cil managed" /> <MemberType>Method</MemberType> <ReturnValue> <ReturnType>System.Boolean</ReturnType> </ReturnValue> <Parameters> <Parameter Name="child" Type="Gtk.Widget" /> </Parameters> <Docs> <param name="child">a <see cref="T:Gtk.Widget" /></param> <summary>Returns whether <paramref name="child" /> should appear in a secondary group of children.</summary> <returns>a <see cref="T:System.Boolean" /></returns> <remarks> </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.ButtonBox" />.</remarks> </Docs> </Member> <Member MemberName="Item"> <MemberSignature Language="C#" Value="public override Gtk.Container.ContainerChild this[Gtk.Widget child] { get; }" /> <MemberSignature Language="ILAsm" Value=".property instance class Gtk.Container/ContainerChild Item(class Gtk.Widget)" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Gtk.Container+ContainerChild</ReturnType> </ReturnValue> <Parameters> <Parameter Name="child" Type="Gtk.Widget" /> </Parameters> <Docs> <param name="child">To be added.</param> <summary>To be added.</summary> <value>To be added.</value> <remarks>To be added.</remarks> <since version="Gtk# 3.0" /> </Docs> </Member> <Member MemberName="Layout"> <MemberSignature Language="C#" Value="public Gtk.ButtonBoxStyle Layout { get; set; }" /> <MemberSignature Language="ILAsm" Value=".property instance valuetype Gtk.ButtonBoxStyle Layout" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Gtk.ButtonBoxStyle</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>Alter the way the buttons in this box are arranged.</summary> <value>The style that the child widgets are currently arranged in.</value> <remarks>See <see cref="T:Gtk.ButtonBoxStyle" /> for more information about the styles of button boxes.</remarks> </Docs> </Member> <Member MemberName="LayoutStyle"> <MemberSignature Language="C#" Value="public Gtk.ButtonBoxStyle LayoutStyle { get; set; }" /> <MemberSignature Language="ILAsm" Value=".property instance valuetype Gtk.ButtonBoxStyle LayoutStyle" /> <MemberType>Property</MemberType> <Attributes> <Attribute> <AttributeName>GLib.Property("layout-style")</AttributeName> </Attribute> </Attributes> <ReturnValue> <ReturnType>Gtk.ButtonBoxStyle</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>See <see cref="P:Gtk.ButtonBox.Layout" /></summary> <value /> <remarks /> </Docs> </Member> <Member MemberName="SetChildSecondary"> <MemberSignature Language="C#" Value="public void SetChildSecondary (Gtk.Widget child, bool is_secondary);" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetChildSecondary(class Gtk.Widget child, bool is_secondary) cil managed" /> <MemberType>Method</MemberType> <ReturnValue> <ReturnType>System.Void</ReturnType> </ReturnValue> <Parameters> <Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="is_secondary" Type="System.Boolean" /> </Parameters> <Docs> <param name="child">a <see cref="T:Gtk.Widget" /></param> <param name="is_secondary">a <see cref="T:System.Boolean" />: if <see langword="true" />, the <paramref name="child" /> appears in a secondary group of the button box. </param> <summary> Sets whether <paramref name="child" /> should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog. </summary> <remarks> This group appears after the other children if the style is <see cref="T:Gtk.ButtonBox.Start" />, <see cref="T:Gtk.ButtonBox.Spread" /> or <see cref="T:Gtk.ButtonBox.Edge" />, and before the the other children if the style is %GTK_BUTTONBOX_END. For horizontal button boxes, the definition of before/after depends on direction of the widget (see <see cref="T:Gtk.Widget.SetDirection" />). If the style is <see cref="T:Gtk.ButtonBox.Start" /> or <see cref="T:Gtk.ButtonBox.End" />, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children. </remarks> </Docs> </Member> </Members> </Type>