ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 16日 (月) 08:05:26 JST
------------------------- REMOTE_ADDR = 106.188.103.9 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AFontButton ------------------------- @@ -1,7 +1,7 @@ -= class Gtk::FontButton += Gtk::FontButton クラス The Gtk::FontButton is a button which displays the currently selected font an allows to open a font selection dialog to change the font. It is suitable widget for selecting a font in a preference dialog. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -12,13 +12,19 @@ * Gtk::Button * Gtk::FontButton -== Class Methods +== インクルードされているモジュール + +* Gtk::Buildable +* Atk::Implementor +* GLib::Interface + +== クラスメソッド --- Gtk::FontButton.new(fontname = nil) Creates a new font picker widget. ((* Since 2.4 *)) * fontname: Name of font to display in font selection dialog * Returns: a new font picker widget -== Instance Methods +== インスタンスメソッド --- font_name Retrieves the name of the currently selected font. ((* Since 2.4 *)) * Returns: The name of the selected font @@ -91,7 +97,13 @@ * title: a string containing the font selection dialog title * Returns: self -== Properties +== プロパティ --- font-name: String (Read/Write) The name of the currently selected font. ((* Since 2.4 *)) * Default value: "Sans 12" @@ -116,13 +122,20 @@ If this property is set to true, the label will be drawn with the selected font size. ((* Since 2.4 *)) * Default value: false -== Signals +== シグナル --- font-set: self The ::font-set signal is emitted when the user selects a font. When handling this signal, use Gtk::FontButton#font_name to find out which font was just selected. ((* Since 2.4 *)) * self: Gtk::FontButton -== See Also +== 関連ページ Gtk::FontSelectionDialog, Gtk::ColorButton. - -- ((<Masao>)) +== 更新履歴 +* 2014-06-16 インクルードされているモジュールの項目を追加。 - ((<きたがわ>)) +* - ((<Masao>))