1<Type Name="Frame" FullName="Gtk.Frame"> 2 <TypeSignature Language="C#" Maintainer="Lee Mallabone" Value="public class Frame : Gtk.Bin" /> 3 <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Frame extends Gtk.Bin" /> 4 <AssemblyInfo> 5 <AssemblyName>gtk-sharp</AssemblyName> 6 <AssemblyPublicKey> 7 </AssemblyPublicKey> 8 </AssemblyInfo> 9 <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> 10 <Base> 11 <BaseTypeName>Gtk.Bin</BaseTypeName> 12 </Base> 13 <Interfaces> 14 </Interfaces> 15 <Docs> 16 <summary>A <see cref="T:Gtk.Bin" /> with a decorative frame and optional <see cref="T:Gtk.Label" />.</summary> 17 <remarks> 18 <para>This widget draws a frame around whatever it contains, so is often used to visually group a set of widgets together.</para> 19 <para>If present, a label is drawn in a gap in the top side of the frame. The position of the label can be controlled with <see cref="M:Gtk.Frame.SetLabelAlign(System.Single,System.Single)" />.</para> 20 </remarks> 21 </Docs> 22 <Members> 23 <Member MemberName=".ctor"> 24 <MemberSignature Language="C#" Value="public Frame ();" /> 25 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /> 26 <MemberType>Constructor</MemberType> 27 <ReturnValue /> 28 <Parameters /> 29 <Docs> 30 <summary>Create a new frame with no label</summary> 31 <remarks /> 32 </Docs> 33 </Member> 34 <Member MemberName=".ctor"> 35 <MemberSignature Language="C#" Value="public Frame (IntPtr raw);" /> 36 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" /> 37 <MemberType>Constructor</MemberType> 38 <ReturnValue /> 39 <Parameters> 40 <Parameter Name="raw" Type="System.IntPtr" /> 41 </Parameters> 42 <Docs> 43 <param name="raw">Pointer to the C object.</param> 44 <summary>Internal constructor</summary> 45 <remarks> 46 <para>This is an internal constructor, and should not be used by user code.</para> 47 </remarks> 48 </Docs> 49 </Member> 50 <Member MemberName=".ctor"> 51 <MemberSignature Language="C#" Value="public Frame (string label);" /> 52 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string label) cil managed" /> 53 <MemberType>Constructor</MemberType> 54 <ReturnValue /> 55 <Parameters> 56 <Parameter Name="label" Type="System.String" /> 57 </Parameters> 58 <Docs> 59 <param name="label">The text to appear as this frame's label</param> 60 <summary>Create a new frame with a label in the top left corner.</summary> 61 <remarks> 62 <para>This creates a new frame with a <see cref="T:Gtk.Label" /> widget in the top left corner, displaying the text passed in as <paramref name="label" />.</para> 63 </remarks> 64 </Docs> 65 </Member> 66 <Member MemberName="GType"> 67 <MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" /> 68 <MemberSignature Language="ILAsm" Value=".property valuetype GLib.GType GType" /> 69 <MemberType>Property</MemberType> 70 <ReturnValue> 71 <ReturnType>GLib.GType</ReturnType> 72 </ReturnValue> 73 <Parameters /> 74 <Docs> 75 <summary>GType Property.</summary> 76 <value>a <see cref="T:GLib.GType" /></value> 77 <remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Gtk.Frame" />.</remarks> 78 </Docs> 79 </Member> 80 <Member MemberName="Label"> 81 <MemberSignature Language="C#" Value="public string Label { get; set; }" /> 82 <MemberSignature Language="ILAsm" Value=".property instance string Label" /> 83 <MemberType>Property</MemberType> 84 <Attributes> 85 <Attribute> 86 <AttributeName>GLib.Property("label")</AttributeName> 87 </Attribute> 88 </Attributes> 89 <ReturnValue> 90 <ReturnType>System.String</ReturnType> 91 </ReturnValue> 92 <Parameters> 93 </Parameters> 94 <Docs> 95 <summary>The string that is visible as the Frame's label</summary> 96 <value>The text of a label if <see cref="P:Gtk.Frame.LabelWidget" /> is a <see cref="T:Gtk.Label" />, null otherwise.</value> 97 <remarks /> 98 </Docs> 99 </Member> 100 <Member MemberName="LabelWidget"> 101 <MemberSignature Language="C#" Value="public Gtk.Widget LabelWidget { get; set; }" /> 102 <MemberSignature Language="ILAsm" Value=".property instance class Gtk.Widget LabelWidget" /> 103 <MemberType>Property</MemberType> 104 <Attributes> 105 <Attribute> 106 <AttributeName>GLib.Property("label-widget")</AttributeName> 107 </Attribute> 108 </Attributes> 109 <ReturnValue> 110 <ReturnType>Gtk.Widget</ReturnType> 111 </ReturnValue> 112 <Parameters> 113 </Parameters> 114 <Docs> 115 <summary>Manage the widget that acts as a frame's <see cref="T:Gtk.Label" />.</summary> 116 <value>The current <see cref="T:Gtk.Widget" /> in use as this Frame's label.</value> 117 <remarks> 118 <para>Despite its name, this property does not have to set a <see cref="T:Gtk.Label" /> widget as its label. Because of the way that Gtk containers work, you may add an arbitrary widget as the label for this frame. However, a genuine <see cref="T:Gtk.Label" /> is recommended for consistency with other applications.</para> 119 </remarks> 120 </Docs> 121 </Member> 122 <Member MemberName="LabelXalign"> 123 <MemberSignature Language="C#" Value="public float LabelXalign { get; set; }" /> 124 <MemberSignature Language="ILAsm" Value=".property instance float32 LabelXalign" /> 125 <MemberType>Property</MemberType> 126 <Attributes> 127 <Attribute> 128 <AttributeName>GLib.Property("label-xalign")</AttributeName> 129 </Attribute> 130 </Attributes> 131 <ReturnValue> 132 <ReturnType>System.Single</ReturnType> 133 </ReturnValue> 134 <Parameters> 135 </Parameters> 136 <Docs> 137 <summary>Set the horizontal alignment of the <see cref="P:Gtk.Frame.LabelWidget" />.</summary> 138 <value>The existing horizontal alignment of this Frame's label</value> 139 <remarks /> 140 </Docs> 141 </Member> 142 <Member MemberName="LabelYalign"> 143 <MemberSignature Language="C#" Value="public float LabelYalign { get; set; }" /> 144 <MemberSignature Language="ILAsm" Value=".property instance float32 LabelYalign" /> 145 <MemberType>Property</MemberType> 146 <Attributes> 147 <Attribute> 148 <AttributeName>GLib.Property("label-yalign")</AttributeName> 149 </Attribute> 150 </Attributes> 151 <ReturnValue> 152 <ReturnType>System.Single</ReturnType> 153 </ReturnValue> 154 <Parameters> 155 </Parameters> 156 <Docs> 157 <summary>Set the vertical alignment of the <see cref="P:Gtk.Frame.LabelWidget" />.</summary> 158 <value>The existing vertical alignment of this Frame's label</value> 159 <remarks /> 160 </Docs> 161 </Member> 162 <Member MemberName="OnComputeChildAllocation"> 163 <MemberSignature Language="C#" Value="protected virtual void OnComputeChildAllocation (Gdk.Rectangle allocation);" /> 164 <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnComputeChildAllocation(valuetype Gdk.Rectangle allocation) cil managed" /> 165 <MemberType>Method</MemberType> 166 <Attributes> 167 <Attribute> 168 <AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideComputeChildAllocation", Type=typeof(Gtk.Frame))</AttributeName> 169 </Attribute> 170 </Attributes> 171 <ReturnValue> 172 <ReturnType>System.Void</ReturnType> 173 </ReturnValue> 174 <Parameters> 175 <Parameter Name="allocation" Type="Gdk.Rectangle" /> 176 </Parameters> 177 <Docs> 178 <param name="allocation">To be added.</param> 179 <summary>To be added.</summary> 180 <remarks>To be added.</remarks> 181 <since version="Gtk# 3.0" /> 182 </Docs> 183 </Member> 184 <Member MemberName="ShadowType"> 185 <MemberSignature Language="C#" Value="public Gtk.ShadowType ShadowType { get; set; }" /> 186 <MemberSignature Language="ILAsm" Value=".property instance valuetype Gtk.ShadowType ShadowType" /> 187 <MemberType>Property</MemberType> 188 <Attributes> 189 <Attribute> 190 <AttributeName>GLib.Property("shadow-type")</AttributeName> 191 </Attribute> 192 </Attributes> 193 <ReturnValue> 194 <ReturnType>Gtk.ShadowType</ReturnType> 195 </ReturnValue> 196 <Parameters> 197 </Parameters> 198 <Docs> 199 <summary>Manage the appearance of this frame's border.</summary> 200 <value>The current shadow style that this Frame is rendered with.</value> 201 <remarks /> 202 </Docs> 203 </Member> 204 </Members> 205</Type> 206