ruby-****@sourc*****
ruby-****@sourc*****
2005年 6月 19日 (日) 22:56:55 JST
------------------------- REMOTE_ADDR = 202.239.148.13 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = http://ruby-gnome2.sourceforge.jp/cgi-bin/hiki/ja/hiki.cgi?Gtk%3A%3AButton ------------------------- @@ -1,9 +1,9 @@ -= class Gtk::Button -The Gtk::Button widget is generally used to attach a function to that is called when the button is pressed. The various signals and how to use them are outlined below. += Gtk::Buttonクラス +一般的にGtk::Buttonウィジェットは、ボタンが押下されたら呼び出されるような関数を関連付けるために使用します。いろいろなシグナルとその使い方については以降で簡単に説明します。 -The Gtk::Button widget can hold any valid child widget. That is it can hold most any other standard Gtk::Widget. The most commonly used child is the Gtk::Label. +Gtk::Buttonウィジットは有効な子ウィジェットをいくつかもつことができます。つまり、一番標準的なGtk::Widgetをもつことができます。その一番よく利用される子ウィジェットはGtk::Labelです。 -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -13,10 +13,10 @@ * Gtk::Bin * Gtk::Button -== Class Methods +== クラスメソッド --- Gtk::Button.new - Creates a Gtk::Button widget. - * Returns: The newly created Gtk::Button widget. + Gtk::Buttonウィジェットを生成します。 + * 戻り値:新たに作成されたGtk::Buttonウィジェット --- Gtk::Button.new(text, use_underline = true) Creates a Gtk::Button widget with a Gtk::Label child containing the given text.