cvs: php-gtk-doc /manual/en/reference/gtk gtkfontselection.xml

From: Date: Sat, 05 Aug 2006 20:55:11 +0000
Subject: cvs: php-gtk-doc /manual/en/reference/gtk gtkfontselection.xml
Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-2741@lists.php.net to get a copy of this message
cweiske Sat Aug 5 20:55:11 2006 UTC Modified files: /php-gtk-doc/manual/en/reference/gtk gtkfontselection.xml Log: GtkFontSelectionDialog docs http://cvs.php.net/viewvc.cgi/php-gtk-doc/manual/en/reference/gtk/gtkfontselection.xml?r1=1.3&r2=1.4&diff_format=u Index: php-gtk-doc/manual/en/reference/gtk/gtkfontselection.xml diff -u php-gtk-doc/manual/en/reference/gtk/gtkfontselection.xml:1.3 php-gtk-doc/manual/en/reference/gtk/gtkfontselection.xml:1.4 --- php-gtk-doc/manual/en/reference/gtk/gtkfontselection.xml:1.3 Tue Apr 4 20:57:26 2006 +++ php-gtk-doc/manual/en/reference/gtk/gtkfontselection.xml Sat Aug 5 20:55:10 2006 @@ -7,12 +7,28 @@ A widget for selecting a font from a list of available fonts. </shortdesc> <desc> - + <para> + The GtkFontSelection widget lists the available fonts, styles and + sizes, allowing the user to select a font. It is used in the + <classname>GtkFontSelectionDialog</classname> widget to provide a + dialog box for selecting fonts. + </para> + <para> + To set the font which is initially selected, use + <function class="GtkFontSelection">set_font_name</function>. + </para> + <para> + To get the selected font use + <function class="GtkFontSelection">get_font_name</function>. + </para> + <para> + To change the text which is shown in the preview area, use + <function class="GtkFontSelection">set_preview_text</function>. + </para> </desc> </classmeta> <constructors> - <constructor id="gtk.gtkfontselection.constructor"> <funcsynopsis> <funcprototype> @@ -21,29 +37,38 @@ </funcprototype> </funcsynopsis> <shortdesc> - + Creates a new font selection widget. </shortdesc> <desc> - + <para> + Creates a new font selection widget. + </para> </desc> </constructor> - </constructors> - <methods> + <methods> <method id="gtk.gtkfontselection.method.get_font"> <funcsynopsis> <funcprototype> - <funcdef> <function>get_font</function></funcdef> + <funcdef><classname>GdkFont</classname> <function>get_font</function></funcdef> <paramdef>void</paramdef> </funcprototype> </funcsynopsis> <shortdesc> - + &deprecated; Returns the selected font. </shortdesc> <desc> - + <para> + &deprecated.method; + Use <function class="GtkFontSelection">get_font_name</function> + instead. + </para> + <para> + Returns the selected font, or <literal>null</literal> if no font + is selected. + </para> </desc> </method> @@ -55,14 +80,16 @@ </funcprototype> </funcsynopsis> <shortdesc> - + Gets the currently-selected font name. </shortdesc> <desc> <para> - See also: + Gets the currently-selected font name. + </para> + <para> + See also: <function class="GtkFontSelection">set_font_name</function> </para> - </desc> </method> @@ -74,14 +101,16 @@ </funcprototype> </funcsynopsis> <shortdesc> - + Gets the text displayed in the preview area. </shortdesc> <desc> <para> - See also: + Gets the text displayed in the preview area. + </para> + <para> + See also: <function class="GtkFontSelection">set_preview_text</function> </para> - </desc> </method> @@ -93,14 +122,19 @@ </funcprototype> </funcsynopsis> <shortdesc> - + Sets the currently-selected font. </shortdesc> <desc> <para> - See also: + Sets the currently-selected font. + </para> + <para> + Returns <literal>true</literal> if the font was found. + </para> + <para> + See also: <function class="GtkFontSelection">get_font_name</function> </para> - </desc> </method> @@ -112,17 +146,76 @@ </funcprototype> </funcsynopsis> <shortdesc> - + Sets the text displayed in the preview area. </shortdesc> <desc> <para> - See also: + Sets the text displayed in the preview area. + </para> + <para> + See also: <function class="GtkFontSelection">get_preview_text</function> </para> - </desc> </method> - </methods> + + + <properties> + <prop id="gtk.gtkfontselection.property.font" type="ro"> + <propname>font</propname> + <proptype><classname>GdkFont</classname></proptype> + <shortdesc> + The GdkFont that is currently selected. + </shortdesc> + <desc> + <para> + The GdkFont that is currently selected. + </para> + </desc> + </prop> + + <prop id="gtk.gtkfontselection.property.font-name" type="rw"> + <propname>font-name</propname> + <proptype>string</proptype> + <shortdesc> + The string that represents this font. + </shortdesc> + <desc> + <para> + The string that represents this font. + </para> + <para> + See also: + <function class="GtkFontSelection">get_font_name</function>, + <function class="GtkFontSelection">set_font_name</function> + </para> + <para> + Default: <literal>NULL</literal> + </para> + </desc> + </prop> + + <prop id="gtk.gtkfontselection.property.preview-text" type="rw"> + <propname>preview-text</propname> + <proptype></proptype> + <shortdesc> + The text to display in order to demonstrate the selected font. + </shortdesc> + <desc> + <para> + The text to display in order to demonstrate the selected font. + </para> + <para> + Default: <literal>abcdefghijk ABCDEFGHIJK</literal> + </para> + <para> + See also: + <function class="GtkFontSelection">get_preview_text</function>, + <function class="GtkFontSelection">set_preview_text</function> + </para> + </desc> + </prop> + </properties> -</classentry> +</classentry> \ No newline at end of file

« previous php.gtk.doc (#2741) next »