1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
|
<Type Name="AccelLabel" FullName="Gtk.AccelLabel">
<TypeSignature Language="C#" Maintainer="Hector Gomez M" Value="public class AccelLabel : Gtk.Label" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit AccelLabel extends Gtk.Label" />
<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.Label</BaseTypeName>
</Base>
<Interfaces>
</Interfaces>
<Docs>
<summary>A widget that displays an accelerator key on the right of the text.</summary>
<remarks>
<para>
The <see cref="T:Gtk.AccelLabel" /> widget is a subclass of <see cref="T:Gtk.Label" /> that also displays an accelerator key on the right of the label text. The <see cref="T:Gtk.AccelLabel" /> widget is commonly used in menus to show the keyboard shortcuts for commands.
</para>
<para>
The accelerator key to display is not set explicitly instead, the <see cref="T:Gtk.AccelLabel" /> displays the accelerators which have been added to a particular widget. This widget is set by calling <see cref="P:Gtk.AccelLabel.AccelWidget" />.
</para>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AccelLabel (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=".ctor">
<MemberSignature Language="C#" Value="public AccelLabel (string str1ng);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string str1ng) cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="str1ng" Type="System.String" />
</Parameters>
<Docs>
<param name="str1ng">The accelerator label.</param>
<summary>Creates an accelerator label.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="AccelClosure">
<MemberSignature Language="C#" Value="public IntPtr AccelClosure { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int AccelClosure" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("accel-closure")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets the closure to be monitored by this accelerator label.</summary>
<value>A <see cref="T:IntPtr" /></value>
<remarks>
<para>
Sets the closure to be monitored by this accelerator label. The closure must be connected to an accelerator group. See <see cref="P:Gtk.AccelLabel.AccelWidget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AccelWidget">
<MemberSignature Language="C#" Value="public Gtk.Widget AccelWidget { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Gtk.Widget AccelWidget" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>GLib.Property("accel-widget")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Fetches the widget monitored by this accelerator label.</summary>
<value>The object monitored by the accelerator label, or <see langword="null" /></value>
<remarks>
<para>
Fetches the widget monitored by this accelerator label.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AccelWidth">
<MemberSignature Language="C#" Value="public uint AccelWidth { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance unsigned int32 AccelWidth" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Returns the width needed to display the accelerator key(s).</summary>
<value>The width needed to display the accelerator key(s)</value>
<remarks>
<para>
Returns the width needed to display the accelerator key(s). This is used by menus to align all of the <see cref="T:Gtk.MenuItem" /> widgets, and shouldn't be needed by applications.
</para>
</remarks>
</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>The GLib Type assigned to this class.</summary>
<value>a <see cref="T:GLib.GType" /></value>
<remarks>Used internally.</remarks>
</Docs>
</Member>
<Member MemberName="Refetch">
<MemberSignature Language="C#" Value="public bool Refetch ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Refetch() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Recreates the string representing the accelerator keys.</summary>
<returns>
<see langword="false" /> Default, since the strings are updated this is not needed</returns>
<remarks>
<para>
Recreates the string representing the accelerator keys. This should not be needed since the string is automatically updated whenever accelerators are added or removed from the associated widget.
</para>
</remarks>
</Docs>
</Member>
</Members>
</Type>
|