ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 16日 (月) 08:12:31 JST
------------------------- REMOTE_ADDR = 106.188.103.9 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AFontSelection ------------------------- @@ -1,4 +1,4 @@ -= class Gtk::FontSelection += Gtk::FontSelection クラス The Gtk::FontSelection widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the Gtk::FontSelectionDialog widget to provide a dialog box for selecting fonts. To set the font which is initially selected, use Gtk::FontSelection#font_name=. To get the selected font use Gtk::FontSelection#font_name. @@ -6,7 +6,7 @@ Filters can be used to limit the fonts shown. There are 2 filters in the Gtk::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). 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. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -17,12 +17,18 @@ * Gtk::VBox * Gtk::FontSelection -== Class Methods +== インクルードされているモジュール + +* Gtk::Buildable +* Atk::Implementor +* GLib::Interface + +== クラスメソッド --- Gtk::FontSelection.new Creates a new Gtk::FontSelection. * Returns: a new Gtk::FontSelection. -== Instance Methods +== インスタンスメソッド --- font_name Gets the currently-selected font name. * Returns: the font name. @@ -46,7 +52,13 @@ Same as Gtk::FontSelection#preview_text=. * text: the text to display in the preview area. -== Properties +== プロパティ --- font: #<Class 0lxa2d3158> (Read) The Gdk::Font that is currently selected @@ -56,7 +62,15 @@ --- preview-text: String (Read/Write) The text to display in order to demonstrate the selected font -== See Also +== 関連ページ Gtk::FontSelectionDialog a dialog box which uses Gtk::FontSelection. -- ((<Masao>)) +== 更新履歴 +* 2014-06-16 インクルードされているモジュールの項目を追加。 - ((<きたがわ>)) +* - ((<Masao>))