2003-02-21 18:59:11 +00:00
<Type Name= "ButtonBox" FullName= "Gtk.ButtonBox" >
<TypeSignature Language= "C#" Value= "public class ButtonBox : Gtk.Box, Implementor, IWrapper, IWrapper, IDisposable" Maintainer= "Lee Mallabone" />
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
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 02:00:12 +00:00
<Attributes />
</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>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<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>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Box</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > Atk.Implementor</InterfaceName>
</Interface>
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
<Interface >
<InterfaceName > System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes />
<Members >
<Member MemberName= "Finalize" >
2003-10-13 22:55:58 +00:00
<MemberSignature Language= "C#" Value= "protected override void Finalize ();" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Disposes the resources associated with the object.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ButtonBox (IntPtr raw);" />
<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
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<returns > An instance of ButtonBox, wrapping the C object.</returns>
<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= "Layout" >
<MemberSignature Language= "C#" Value= "public Gtk.ButtonBoxStyle Layout { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.ButtonBoxStyle</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-20 20:55:24 +00:00
<summary > Alter the way the buttons in this box are arranged.</summary>
<param name= "value" > the new style to arrange the buttons in.</param>
<returns > The style that the child widgets are currently arranged in.</returns>
2003-02-23 07:26:30 +00:00
<remarks > See <see cref= "T:Gtk.ButtonBoxStyle" /> for more information about the styles of button boxes.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "LayoutStyle" >
<MemberSignature Language= "C#" Value= "public Gtk.ButtonBoxStyle LayoutStyle { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.ButtonBoxStyle</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > See <see cref= "P:Gtk.ButtonBox.Layout" /> </summary>
<param name= "value" />
<returns />
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.ButtonBox" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2003-03-07 01:30:00 +00:00
<Member MemberName= ".ctor" >
2003-12-24 01:35:30 +00:00
<MemberSignature Language= "C#" Value= "protected ButtonBox (GLib.GType gtype);" />
2003-03-07 01:30:00 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-12-24 01:35:30 +00:00
<Parameter Name= "gtype" Type= "GLib.GType" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-03-07 01:30:00 +00:00
<Docs >
2004-06-21 20:33:11 +00:00
<summary > Protected Constructor.</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
<returns > a <see cref= "T:Gtk.ButtonBox" /> </returns>
2004-06-21 20:33:11 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2003-03-07 01:30:00 +00:00
</Docs>
</Member>
2004-06-01 18:05:26 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected ButtonBox ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-06-25 15:56:45 +00:00
<summary > Default parameterless constructor.</summary>
2004-06-01 18:05:26 +00:00
<returns > a <see cref= "T:Gtk.ButtonBox" /> </returns>
2004-06-25 15:56:45 +00:00
<remarks > This is the default constructor for the <see cref= "T:Gtk.ButtonBox" /> class.</remarks>
2004-06-01 18:05:26 +00:00
</Docs>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "GetChildIpadding" >
<MemberSignature Language= "C#" Value= "public void GetChildIpadding (out int ipad_x, out int ipad_y);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "ipad_x" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "ipad_y" Type= "System.Int32&" RefType= "out" />
</Parameters>
<Docs >
2004-12-31 21:06:38 +00:00
<summary > Gets the internal padding of the child widgets.</summary>
<param name= "ipad_x" > a <see cref= "T:System.Int32" /> , the horizontal value</param>
<param name= "ipad_y" > a <see cref= "T:System.Int32" /> , the vertical value</param>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SetChildSize" >
<MemberSignature Language= "C#" Value= "public void SetChildSize (int min_width, int min_height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "min_width" Type= "System.Int32" />
<Parameter Name= "min_height" Type= "System.Int32" />
</Parameters>
<Docs >
2004-12-31 21:06:38 +00:00
<summary >
Sets the minimum width and height of this button box's
child widgets.
</summary>
2004-11-05 21:25:40 +00:00
<param name= "min_width" > a <see cref= "T:System.Int32" /> </param>
<param name= "min_height" > a <see cref= "T:System.Int32" /> </param>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SetChildIpadding" >
<MemberSignature Language= "C#" Value= "public void SetChildIpadding (int ipad_x, int ipad_y);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "ipad_x" Type= "System.Int32" />
<Parameter Name= "ipad_y" Type= "System.Int32" />
</Parameters>
<Docs >
2004-12-31 21:06:38 +00:00
<summary > Sets the internal padding of the child widgets.</summary>
<param name= "ipad_x" > a <see cref= "T:System.Int32" /> , the horizontal value</param>
<param name= "ipad_y" > a <see cref= "T:System.Int32" /> , the vertical value</param>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
2004-11-08 15:03:02 +00:00
<Member MemberName= "GetChildSize" >
<MemberSignature Language= "C#" Value= "public void GetChildSize (out int min_width, out int min_height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "min_width" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "min_height" Type= "System.Int32&" RefType= "out" />
</Parameters>
<Docs >
2005-04-22 17:20:16 +00:00
<summary >
2004-12-31 21:06:38 +00:00
Sets the minimum width and height of this button box's
child widgets.
</summary>
2004-11-08 15:03:02 +00:00
<param name= "min_width" > a <see cref= "T:System.Int32" /> </param>
<param name= "min_height" > a <see cref= "T:System.Int32" /> </param>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2004-11-08 15:03:02 +00:00
</Docs>
</Member>
2004-11-18 20:31:22 +00:00
<Member MemberName= "Item" >
<MemberSignature Language= "C#" Value= "public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Container+ContainerChild</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "child" Type= "Gtk.Widget" />
</Parameters>
<Docs >
<summary > Accessor for child property items</summary>
<param name= "child" > a child of this <see cref= "T:Gtk.ButtonBox" /> </param>
<returns > a <see cref= "T:Gtk.Container+ContainerChild" /> </returns>
<remarks > You can cast the returned object to <see cref= "T:Gtk.ButtonBox+ButtonBoxChild" /> to access its child properties.</remarks>
</Docs>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "GetChildSecondary" >
<MemberSignature Language= "C#" Value= "public bool GetChildSecondary (Gtk.Widget child);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "child" Type= "Gtk.Widget" />
</Parameters>
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Returns whether <paramref name= "child" /> should appear in a secondary group of children.</summary>
2004-11-18 20:31:22 +00:00
<param name= "child" > a <see cref= "T:Gtk.Widget" /> </param>
2004-11-05 21:25:40 +00:00
<returns > a <see cref= "T:System.Boolean" /> </returns>
2005-04-22 17:20:16 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
2004-11-08 15:03:02 +00:00
<Member MemberName= "SetChildSecondary" >
2004-11-18 20:31:22 +00:00
<MemberSignature Language= "C#" Value= "public void SetChildSecondary (Gtk.Widget child, bool is_secondary);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2004-11-08 15:03:02 +00:00
<Parameter Name= "child" Type= "Gtk.Widget" />
2004-11-18 20:31:22 +00:00
<Parameter Name= "is_secondary" Type= "System.Boolean" />
2004-11-05 21:25:40 +00:00
</Parameters>
<Docs >
2004-12-31 21:06:38 +00:00
<summary >
2005-04-22 17:20:16 +00:00
Sets whether <paramref name= "child" /> should appear in a secondary group of children.
2004-12-31 21:06:38 +00:00
A typical use of a secondary child is the help button in a dialog.
</summary>
2004-11-18 20:31:22 +00:00
<param name= "child" > a <see cref= "T:Gtk.Widget" /> </param>
2004-12-31 21:06:38 +00:00
<param name= "is_secondary" > a <see cref= "T:System.Boolean" /> : if
2005-04-22 17:20:16 +00:00
<see langword= "true" /> , the <paramref name= "child" /> appears in a secondary group of the button box.
2004-12-31 21:06:38 +00:00
</param>
<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>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-04-22 17:20:16 +00:00
</Type>