2003-02-12 02:00:12 +00:00
<Type Name= "FontSelection" FullName= "Gtk.FontSelection" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "Lee Mallabone" Value= "public class FontSelection : Gtk.VBox" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2007-12-06 18:37:54 +00:00
<AssemblyVersion > 2.12.0.0</AssemblyVersion>
2003-02-12 02:00:12 +00:00
</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-25 08:27:52 +00:00
<summary > A FontSelection is a widget that allows the user to select a font.</summary>
<remarks >
2003-03-07 01:30:00 +00:00
<para > The FontSelection widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the <see cref= "T:Gtk.FontSelectionDialog" /> widget to provide a <see cref= "T:Gtk.Dialog" /> box for selecting fonts.
2003-02-25 08:27:52 +00:00
</para>
2003-03-07 01:30:00 +00:00
<para > Filters can be used to limit the fonts shown. There are 2 filters in the FontSelection - a base filter and a user filter. The base filter can not be changed by the user, so this can be used when the user must choose from the restricted set of fonts (e.g. for a terminal-type application you may want to force the user to select a fixed-width font).
2003-02-25 08:27:52 +00:00
</para>
2003-03-07 01:30:00 +00:00
<para >
2003-02-25 08:27:52 +00:00
The user filter can be changed or reset by the user, by using the 'Reset Filter' button or changing the options on the 'Filter' page of the widget.
2003-03-07 01:30:00 +00:00
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.VBox</BaseTypeName>
</Base>
2007-01-16 16:18:05 +00:00
<Interfaces >
</Interfaces>
2003-02-12 02:00:12 +00:00
<Members >
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public FontSelection (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>
<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= ".ctor" >
<MemberSignature Language= "C#" Value= "public FontSelection ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2003-02-25 08:27:52 +00:00
<summary > The main way to construct a new FontSelection</summary>
2003-03-07 01:30:00 +00:00
<remarks >
<para > Creates a new FontSelection widget that allows the user to select from the available fonts.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "FontName" >
<MemberSignature Language= "C#" Value= "public string FontName { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-25 08:27:52 +00:00
<summary > Manage the name of the font that is selected in this widget.</summary>
2005-05-23 20:41:51 +00:00
<value > The name of the currently selected font.</value>
2003-03-07 01:30:00 +00:00
<remarks >
2004-12-17 17:55:07 +00:00
<para > If this property is used to alter the widget's font name to a font that could not be found, the widget will retain its original font selection. See also <see cref= "M:Gtk.FontSelection.SetFontName" /> , which returns a value indicating whether or not the new font name was found.</para>
2003-03-07 01:30:00 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Property("font-name")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "PreviewText" >
<MemberSignature Language= "C#" Value= "public string PreviewText { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-25 08:27:52 +00:00
<summary > The text used to display a preview of the selected font.</summary>
2005-05-23 20:41:51 +00:00
<value > The text currently displaying the selected font.</value>
2003-03-07 01:30:00 +00:00
<remarks >
<para > This property determines the exact string that is displayed in the 'preview area' of the FontSelection.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Property("preview-text")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Font" >
<MemberSignature Language= "C#" Value= "public Gdk.Font Font { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Font</ReturnType>
</ReturnValue>
<Docs >
2003-03-07 01:30:00 +00:00
<summary > Get the <see cref= "T:Gdk.Font" /> that is currently selected.</summary>
2005-05-23 20:41:51 +00:00
<value > A Gdk font object representing the selected font, or null if no font is selected.</value>
2003-03-07 01:30:00 +00:00
<remarks />
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Property("font")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-08-23 17:02:47 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > System.Obsolete</AttributeName>
2005-08-23 17:02:47 +00:00
</Attribute>
</Attributes>
</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>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.FontSelection" /> .</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 FontSelection (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>
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-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > System.Obsolete</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-12-17 17:55:07 +00:00
<Member MemberName= "SetFontName" >
<MemberSignature Language= "C#" Value= "public bool SetFontName (string fontname);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "fontname" Type= "System.String" />
</Parameters>
<Docs >
<summary > Set the current font selection</summary>
<param name= "fontname" > the name of the font to be selected</param>
2004-12-29 18:36:31 +00:00
<returns >
<see langword= "true" /> if the font was found and selected</returns>
2004-12-17 17:55:07 +00:00
<remarks > This can be used instead of setting <see cref= "P:Gtk.FontSelection.FontName" /> property if you need to know whether or not <paramref name= "fontname" /> was valid.</remarks>
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>