cvs: php-gtk-doc /images/reference/gtk gtkfontselectiondialog.png /manual/en/reference/gtk gtkfontselectiondialog.xml
| From: | Anant Narayanan | Date: | Fri, 03 Mar 2006 08:07:19 +0000 |
| Subject: | cvs: php-gtk-doc /images/reference/gtk gtkfontselectiondialog.png /manual/en/reference/gtk gtkfontselectiondialog.xml | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-1893@lists.php.net to get a copy of this message | ||
anant Fri Mar 3 08:07:19 2006 UTC
Added files:
/php-gtk-doc/images/reference/gtk gtkfontselectiondialog.png
Modified files:
/php-gtk-doc/manual/en/reference/gtk gtkfontselectiondialog.xml
Log:
GtkFontSelectionDialog docs and image.
http://cvs.php.net/viewcvs.cgi/php-gtk-doc/manual/en/reference/gtk/gtkfontselectiondialog.xml?r1=1.5&r2=1.6&diff_format=u
Index: php-gtk-doc/manual/en/reference/gtk/gtkfontselectiondialog.xml
diff -u php-gtk-doc/manual/en/reference/gtk/gtkfontselectiondialog.xml:1.5
php-gtk-doc/manual/en/reference/gtk/gtkfontselectiondialog.xml:1.6
--- php-gtk-doc/manual/en/reference/gtk/gtkfontselectiondialog.xml:1.5 Thu Mar 2 23:39:26 2006
+++ php-gtk-doc/manual/en/reference/gtk/gtkfontselectiondialog.xml Fri Mar 3 08:07:19 2006
@@ -3,11 +3,17 @@
<classmeta>
<classtitle>GtkFontSelectionDialog</classtitle>
<classparent>GtkDialog</classparent>
+ <classimage
fileref="&directory.images;/reference/gtk/gtkfontselectiondialog.png"/>
<shortdesc>
-
+ A standard dialog box to select a font.
</shortdesc>
<desc>
-
+ <para>
+ The <classname>GtkFontSelectionDialog</classname> provides a standard
+ dialog box which allows the user to select a font. The dialog box
+ implements the <classname>GtkFontSelection</classname> widget to enable
+ the user to pick a font.
+ </para>
</desc>
</classmeta>
@@ -21,10 +27,14 @@
</funcprototype>
</funcsynopsis>
<shortdesc>
-
+ Creates a new GtkFontSelectionDialog.
</shortdesc>
<desc>
-
+ <para>
+ Use the constructor to create a new
+ <classname>GtkFontSelectionDialog</classname>. You must pass the title of
+ the dialog box that you wish to create as an argument to the constructor.
+ </para>
</desc>
</constructor>
@@ -40,10 +50,14 @@
</funcprototype>
</funcsynopsis>
<shortdesc>
-
+ DEPRECATED. Returns the currently selected font.
</shortdesc>
<desc>
-
+ <para>
+ &deprecated.method;
+ Use <function class="GtkFontSelectionDialog">get_font_name</function>
+ instead. Returns the currently selected font as a GdkFont object.
+ </para>
</desc>
</method>
@@ -55,14 +69,21 @@
</funcprototype>
</funcsynopsis>
<shortdesc>
-
+ Returns the name of the font currently selected.
</shortdesc>
<desc>
<para>
See also:
<function class="GtkFontSelectionDialog">set_font_name</function>
</para>
-
+ <para>
+ Use this method to determine the name (and size) of the font that the user
+ has currently selected on the dialog box. This method is usually used in
+ conjunction with the regular dialog response signals. An example of a type
+ of result that the method generates is: "Sans Bold 14", which indicates that the
+ name of the font is "Sans", the style is "Bold", while the size of the
font
+ selected is 14.
+ </para>
</desc>
</method>
@@ -74,14 +95,19 @@
</funcprototype>
</funcsynopsis>
<shortdesc>
-
+ Returns the currently set preview text.
</shortdesc>
<desc>
<para>
+ Use this method to determine the preview text that is currently set on the
+ font selection dialog box. If you have not modified the preview text using
+ the <function
class="GtkFontSelectionDialog">set_preview_text</function>,
+ the default result will be "abcdefghijk ABCDEFJHIJK".
+ </para>
+ <para>
See also:
<function class="GtkFontSelectionDialog">set_preview_text</function>
</para>
-
</desc>
</method>
@@ -93,14 +119,21 @@
</funcprototype>
</funcsynopsis>
<shortdesc>
-
+ Sets the font name being used by the dialog.
</shortdesc>
<desc>
<para>
+ Use this method to set the font name that must be currently selected by the
+ font selection dialog. The parameter for this function will be a string
+ similar to the result generated by
+ <function class="GtkFontSelectionDialog">get_font_name</function>, i.e.
+ passing "Sans Bold 14" will set the font to be "Sans", of "Bold"
type and
+ size 14.
+ </para>
+ <para>
See also:
<function class="GtkFontSelectionDialog">get_font_name</function>
</para>
-
</desc>
</method>
@@ -112,17 +145,21 @@
</funcprototype>
</funcsynopsis>
<shortdesc>
-
+ Sets the preview text to be displayed by the dialog.
</shortdesc>
<desc>
<para>
+ Use this method if you wish to customise the preview text that will be
+ displayed by the dialog. Pass the custom text as a string parameter to the
+ function. If you do not set any preview text, then it defaults to
+ "abcdefghijk ABCDEFGHIJK".
+ </para>
+ <para>
See also:
<function class="GtkFontSelectionDialog">get_preview_text</function>
</para>
-
</desc>
</method>
-
</methods>
<fields>
@@ -131,9 +168,16 @@
<fieldname>action_area</fieldname>
<fieldtype>GtkWidget</fieldtype>
<shortdesc>
+ The action_area property of the dialog.
</shortdesc>
<desc>
-
+ <para>
+ This property represents the action_area property of the font selection
+ dialog. This action_area contains the buttons of the dialog. See the
+ <fieldname class="GtkDialog">action_area</fieldname> property of the
+ <classname>GtkDialog</classname> widget for more information on how to use
+ this property.
+ </para>
</desc>
</field>
@@ -141,9 +185,14 @@
<fieldname>apply_button</fieldname>
<fieldtype>GtkWidget</fieldtype>
<shortdesc>
+ The Apply button widget of the dialog.
</shortdesc>
<desc>
-
+ <para>
+ This property represents the Apply button widget of the dialog. This button
+ will by default generate the Gtk::RESPONSE_APPLY signal, and is not visible
+ by default.
+ </para>
</desc>
</field>
@@ -151,9 +200,13 @@
<fieldname>cancel_button</fieldname>
<fieldtype>GtkWidget</fieldtype>
<shortdesc>
+ The Cancel button widget of the dialog.
</shortdesc>
<desc>
-
+ <para>
+ This property represents the Cancel button widget of the dialog. This button
+ will by default generate the Gtk::RESPONSE_CANCEL signal.
+ </para>
</desc>
</field>
@@ -161,9 +214,14 @@
<fieldname>fontsel</fieldname>
<fieldtype>GtkWidget</fieldtype>
<shortdesc>
+ The font selection widget of the dialog.
</shortdesc>
<desc>
-
+ <para>
+ This property represents the font selection widget of the dialog. See the
+ <classname>GtkFontSelection</classname> widget for more information on how
+ to use this property.
+ </para>
</desc>
</field>
@@ -171,9 +229,16 @@
<fieldname>main_vbox</fieldname>
<fieldtype>GtkWidget</fieldtype>
<shortdesc>
+ The main_vbox property of the dialog.
</shortdesc>
<desc>
-
+ <para>
+ This property represents the main_vbox property of the font selection
+ dialog. The main_vbox contains the entire top area of the dialog. See the
+ <fieldname class="GtkDialog">vbox</fieldname> property of the
+ <classname>GtkDialog</classname> widget for more information on how to use
+ this property.
+ </para>
</desc>
</field>
@@ -181,9 +246,13 @@
<fieldname>ok_button</fieldname>
<fieldtype>GtkWidget</fieldtype>
<shortdesc>
+ The Ok button widget of the dialog.
</shortdesc>
<desc>
-
+ <para>
+ This property represents the Ok button widget of the dialog. This button
+ will by default generate the Gtk::RESPONSE_OK signal.
+ </para>
</desc>
</field>