ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 16日 (月) 15:46:05 JST
------------------------- REMOTE_ADDR = 106.188.103.9 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AMessageDialog ------------------------- @@ -1,9 +1,9 @@ -= class Gtk::MessageDialog += Gtk::MessageDialog クラス Gtk::MessageDialog presents a dialog with an image representing the type of message (Error, Question, etc.) alongside some message text. It's simply a convenience widget; you could construct the equivalent of Gtk::MessageDialog from Gtk::Dialog without too much effort, but Gtk::MessageDialog saves typing. The easiest way to do a modal message dialog is to use Gtk::Dialog#run, though you can also pass in the Gtk::Dialog::MODAL flag, Gtk::Dialog#run automatically makes the dialog modal and waits for the user to respond to it. Gtk::Dialog#run returns when any dialog button is clicked. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -15,7 +15,13 @@ * Gtk::Dialog * Gtk::MessageDialog -== Class Methods +== インクルードされているモジュール + +* Gtk::Buildable +* Atk::Implementor +* GLib::Interface + +== クラスメソッド --- Gtk::MessageDialog.new(parent, flags, type, buttons, message = nil) Creates a new message dialog, which is a simple dialog with an icon indicating the dialog type (error, warning, etc.) and some text the user may want to see. When the user clicks a button a "response" signal is emitted with response IDs from GtkResponseType. See Gtk::Dialog for more details. * parent: transient parent, or nil for none. @@ -25,13 +31,23 @@ * message: message. * Returns: a new Gtk::MessageDialog -== Instance Methods +== インスタンスメソッド --- buttons=(button_type) + ((*存在しない?*)) + Set ((<GtkButtonsType|Gtk::MessageDialog#GtkButtonsType>)). * button_type: ((<GtkButtonsType|Gtk::MessageDialog#GtkButtonsType>)). * Returns: button_type. --- set_buttons(button_type) + ((*存在しない?*)) + Same as Gtk::MessageDialog#buttons=. * button_type: ((<GtkButtonsType|Gtk::MessageDialog#GtkButtonsType>)). * Returns: self. @@ -67,16 +77,75 @@ * Returns: self --- secondary_markup=(markup) + ((*存在しない?*)) + Sets the secondary text of the message dialog which is marked up with the ((<Pango text markup language|pango-markup>)). Note that setting a secondary text makes the primary text become bold, unless you have provided explicit markup. ((*Since 2.6*)) * markup: markup string (see ((<Pango text markup language|pango-markup>))) or nil * Returns: markup --- set_secondary_markup(markup) + ((*存在しない?*)) + Same as Gtk::MessageDialog#secondary_markup=. ((*Since 2.6*)) * markup: markup string (see ((<Pango text markup language|pango-markup>))) or nil * Returns: self -== Constants +--- message_area() + ((*要編集*)) + +--- image=() + ((*要編集*)) + +--- set_image() + ((*要編集*)) + +--- image() + ((*要編集*)) + +--- secondary_use_markup=() + ((*要編集*)) + +--- set_secondary_use_markup() + ((*要編集*)) + +--- secondary_use_markup?() + ((*要編集*)) + +--- secondary_text() + ((*要編集*)) + +--- use_markup=() + ((*要編集*)) + +--- set_use_markup() + ((*要編集*)) + +--- use_markup?() + ((*要編集*)) + +--- text=() + ((*要編集*)) + +--- set_text() + ((*要編集*)) + +--- text() + ((*要編集*)) + +== 定数 +--- OTHER (Gtk::MessageType) + ((*要編集*)) + === GtkButtonsType Prebuilt sets of buttons for the dialog. If none of these choices are appropriate. --- BUTTONS_CANCEL @@ -103,14 +162,92 @@ --- WARNING Nonfatal warning message. -== Properties +== プロパティ --- buttons: Integer (Write) The buttons shown in the message dialog --- message-type: Integer (Read/Write) The type of message + +--- message-area: + ((*要編集*)) + +--- image: + ((*要編集*)) + +--- secondary-use-markup: + ((*要編集*)) + +--- secondary-text: + ((*要編集*)) + +--- use-markup: + ((*要編集*)) + +--- text: + ((*要編集*)) -== ChangeLog +== 更新履歴 +* 2014-06-16 クラスのメンバ項目の存在チェック("存在しない?"とマーク)。リストから漏れているものを追加。 - ((<きたがわ>)) * 2005-03-29 Added methods of 2.6 - ((<Masao>)) * 2004-05-25 Added methods of 2.4 - ((<Masao>)) * 2003-04-03 Initial upload - ((<Masao>))