mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-29 15:25:36 +00:00
91d63cee7a
svn path=/trunk/gtk-sharp/; revision=71149
255 lines
10 KiB
XML
255 lines
10 KiB
XML
<Type Name="ButtonBox" FullName="Gtk.ButtonBox">
|
|
<TypeSignature Language="C#" Maintainer="Lee Mallabone" Value="public class ButtonBox : Gtk.Box" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gtk-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>2.10.0.0</AssemblyVersion>
|
|
</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>
|
|
<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>
|
|
<Base>
|
|
<BaseTypeName>Gtk.Box</BaseTypeName>
|
|
</Base>
|
|
<Interfaces>
|
|
</Interfaces>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>System.Reflection.DefaultMember("Item")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
<Members>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public ButtonBox (IntPtr raw);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="raw" Type="System.IntPtr" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Internal constructor</summary>
|
|
<param name="raw">Pointer to the C object.</param>
|
|
<remarks>
|
|
<para>This is an internal constructor, and should not be used by user code.</para>
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Layout">
|
|
<MemberSignature Language="C#" Value="public Gtk.ButtonBoxStyle Layout { set; get; };" />
|
|
<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 { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gtk.ButtonBoxStyle</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>See <see cref="P:Gtk.ButtonBox.Layout" /></summary>
|
|
<value />
|
|
<remarks />
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.Property("layout-style")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
<Member MemberName="GType">
|
|
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; };" />
|
|
<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=".ctor">
|
|
<MemberSignature Language="C#" Value="protected ButtonBox (GLib.GType gtype);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="gtype" Type="GLib.GType" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Protected Constructor.</summary>
|
|
<param name="gtype">a <see cref="T:GLib.GType" /></param>
|
|
<remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>System.Obsolete</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="protected ButtonBox ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Default parameterless constructor.</summary>
|
|
<remarks>This is the default constructor for the <see cref="T:Gtk.ButtonBox" /> class.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<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>
|
|
<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>
|
|
<remarks>
|
|
</remarks>
|
|
<since version="Gtk# 2.4" />
|
|
</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>
|
|
<summary>
|
|
Sets the minimum width and height of this button box's
|
|
child widgets.
|
|
</summary>
|
|
<param name="min_width">a <see cref="T:System.Int32" /></param>
|
|
<param name="min_height">a <see cref="T:System.Int32" /></param>
|
|
<remarks>
|
|
</remarks>
|
|
<since version="Gtk# 2.4" />
|
|
</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>
|
|
<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>
|
|
<remarks>
|
|
</remarks>
|
|
<since version="Gtk# 2.4" />
|
|
</Docs>
|
|
</Member>
|
|
<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>
|
|
<summary>
|
|
Sets the minimum width and height of this button box's
|
|
child widgets.
|
|
</summary>
|
|
<param name="min_width">a <see cref="T:System.Int32" /></param>
|
|
<param name="min_height">a <see cref="T:System.Int32" /></param>
|
|
<remarks>
|
|
</remarks>
|
|
<since version="Gtk# 2.4" />
|
|
</Docs>
|
|
</Member>
|
|
<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>
|
|
<summary>Returns whether <paramref name="child" /> should appear in a secondary group of children.</summary>
|
|
<param name="child">a <see cref="T:Gtk.Widget" /></param>
|
|
<returns>a <see cref="T:System.Boolean" /></returns>
|
|
<remarks>
|
|
</remarks>
|
|
<since version="Gtk# 2.4" />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="SetChildSecondary">
|
|
<MemberSignature Language="C#" Value="public void SetChildSecondary (Gtk.Widget child, bool is_secondary);" />
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|