ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 16日 (月) 17:55:39 JST
------------------------- REMOTE_ADDR = 106.188.103.9 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3ASpinButton ------------------------- @@ -1,9 +1,9 @@ -= class Gtk::SpinButton += Gtk::SpinButton クラス A Gtk::SpinButton is an ideal way to allow the user to set the value of some attribute. Rather than having to directly type a number into a Gtk::Entry, Gtk::SpinButton allows the user to click on one of two arrows to increment or decrement the displayed value. A value can still be typed in, with the bonus that it can be checked to ensure it is in a given range. The main properties of a Gtk::SpinButton are through a Gtk::Adjustment. See the Gtk::Adjustment section for more details about an adjustment's properties. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -12,7 +12,15 @@ * Gtk::Entry * Gtk::SpinButton -== Class Methods +== インクルードされているモジュール + +* Gtk::CellEditable +* Gtk::Editable +* Gtk::Buildable +* Atk::Implementor +* GLib::Interface + +== クラスメソッド --- Gtk::SpinButton.new Creates a new Gtk::SpinButton. * Returns: The new spin button. @@ -31,7 +39,15 @@ * step: Increment added or subtracted by spinning the widget(Float) * Returns: The new spin button. -== Instance Methods +== インスタンスメソッド --- configure(adjustment, climb_rate, digits) Changes the properties of an existing spin button. The adjustment, climb rate, and number of decimal places are all changed accordingly, after this function call. * adjustment: a GtkAdjustment. @@ -171,7 +179,18 @@ * wrap: true if wrapping behavior is performed. * Returns: self -== Constants +--- change_value() + ((*要編集*)) + +== 定数 === GtkSpinButtonUpdatePolicy --- UPDATE_ALWAYS When refreshing your Gtk::SpinButton, the value is always displayed. @@ -194,7 +205,18 @@ --- USER_DEFINED The programmer must specify the exact amount to spin the Gtk::SpinButton. -== Properties +== プロパティ --- adjustment: Gtk::Adjustment (Read/Write) The adjustment that holds the value of the spinbutton @@ -219,7 +230,18 @@ --- wrap: true or false (Read/Write) Whether a spin button should wrap upon reaching its limits -== Signals +== シグナル --- change-value: self, arg1 * self: Gtk::SpinButton * arg1: @@ -234,8 +245,23 @@ --- value-changed: self * self: Gtk::SpinButton -== See Also -* Gtk::Entry - retrieve text rather than numbers. +--- wrapped: + ((*要編集*)) +== 関連ページ +* Gtk::Entry - retrieve text rather than numbers. -((<Masao>)) \ No newline at end of file +== 更新履歴 +* 2014-06-16 クラスのメンバで漏れているものを追加。 - ((<きたがわ>)) +* ((<Masao>))