[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - Gtk::Dialog

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2014年 6月 16日 (月) 00:15:17 JST


-------------------------
REMOTE_ADDR = 106.188.30.133
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3ADialog
-------------------------
@@ -1,4 +1,4 @@
-= class Gtk::Dialog
+= Gtk::Dialog クラス
 Dialog boxes are a convenient way to prompt the user for a small amount of input, eg. to display a message, ask a question, or anything else that does not require extensive effort on the user's part.
 
 Ruby/GTK treats a dialog as a window split vertically. The top section is a Gtk::VBox, and is where widgets such as a Gtk::Label or a Gtk::Entry should be packed. The bottom area is known as the action_area. This is generally used for packing buttons into the dialog which may perform functions such as cancel, ok, or apply. The two areas are separated by a Gtk::HSeparator.
@@ -31,7 +31,7 @@
         dialog.show_all
     end
 
-== Object Hierarchy
+== オブジェクト階層
 * Object
   * GLib::Instantiatable
     * GLib::Object
@@ -42,7 +42,13 @@
               * Gtk::Window
                 * Gtk::Dialog
 
-== Class Methods
+== インクルードされているモジュール
+
+* Gtk::Buildable
+* Atk::Implementor
+* GLib::Interface
+
+== クラスメソッド
 --- Gtk::Dialog.new(title = nil, parent = nil, flags = nil, [button_face1, response_id1], [button_face2, response_id2], .....)
     Creates a new Gtk::Dialog with title title (or nil for the default title; see 
 
@@ -59,7 +65,13 @@
                                 [Gtk::Stock::OK, Gtk::Dialog::RESPONSE_ACCEPT],
                                 [Gtk::Stock::CANCEL, Gtk::Dialog::RESPONSE_REJECT])
 
-== Instance Methods
+== インスタンスメソッド
 --- run {|response| ... }
     Blocks in a recursive main loop until the dialog either emits the response signal, or is destroyed. If the dialog is destroyed during the call to Gtk::Dialog#run, Gtk::Dialog returns Gtk::Dialog::RESPONSE_NONE. Otherwise, it returns the response ID from the "response" signal emission. Before entering the recursive main loop, Gtk::Dialog#run calls Gtk::Widget#show on the dialog for you. Note that you still need to show any children of the dialog yourself.
     During Gtk::Dialog#run, the default behavior of "delete_event" is disabled; if the dialog receives "delete_event", it will not be destroyed as windows usually are, and Gtk::Dialog#run will return Gtk::Dialog#RESPONSE_DELETE_EVENT. Also, during Gtk::Dialog#run the dialog will be modal. You can force Gtk::Dialog#run to return at any time by calling Gtk::Dialog#response to emit the "response" signal. Destroying the dialog during Gtk::Dialog#run is a very bad idea, because your post-run code won't know whether the dialog was destroyed or not.
@@ -164,15 +170,27 @@
     Gets the response id of a widget in the action area of the dialog. ((*Since 2.8*))
     * widget: a widget in the action area the dialog (Gtk::Widget)
     * Returns: the response id of widget, or Gtk::Dialog::RESPONSE_NONE if the widget doesn't have a response id set.
+
+--- get_response_for_widget()
+    ((*要編集*))
+
+--- close()
+    ((*要編集*))
 
-== Module functions
+== モジュール関数
 
 --- Gtk::Dialog.alternative_dialog_button_order?(screen)
     Returns true if dialogs are expected to use an alternative button order on the specified screen. See Gtk::Dialog#set_alternative_button_order for more details about alternative button order. If you need to use this function, you should probably connect to the ::notify:gtk-alternative-button-order signal on the Gtk::Settings object associated to the screen, in order to be notified if the button order setting changes. ((*Since 2.6*))
     * screen: a Gdk::Screen, or nil to use the default screen
     * Returns: whether the alternative button order should be used
 
-== Constants
+== 定数
 === GtkDialogFlags
 
 --- MODAL
@@ -199,11 +211,23 @@
 --- RESPONSE_APPLY
 --- RESPONSE_HELP
 
-== Properties
+== プロパティ
 --- has-separator: true or false (Read/Write)
     The dialog has a separator bar above its buttons
 
-== Signals
+== シグナル
 --- close: self
      * self: Gtk::Dialog
 
@@ -211,4 +223,18 @@
      * self: Gtk::Dialog
      * response_id: the response_id
 
-- ((<Masao>))
+== 更新履歴
+* 2014-06-15 クラスのメンバで漏れていたものを追加。 - ((<きたがわ>))
+* - ((<Masao>))




ruby-gnome2-cvs メーリングリストの案内
Back to archive index