ruby-****@lists*****
ruby-****@lists*****
2003年 4月 21日 (月) 01:44:02 JST
------------------------- REMOTE_ADDR = 210.249.207.41 REMOTE_HOST = ------------------------- = class Gtk::Scale A Gtk::Scale is a slider control used to select a numeric value. To use it, you'll probably want to investigate the methods on its base class, Gtk::Range, in addition to the methods for Gtk::Scale itself. To set the value of a scale, you would normally use Gtk::Range#value=. To detect changes to the value, you would normally use the "value_changed" signal. The Gtk::Scale widget is an abstract class, used only for deriving the subclasses Gtk::HScale and Gtk::VScale. To create a scale widget, call Gtk::HScale.new or Gtk::VScale.new. == super class * ((<Gtk::Range>)) == public instance methods --- digits Gets the number of decimal places that are displayed in the value. * Returns: the number of decimal places that are displayed. --- digits=(digits) Sets the number of decimal places that are displayed in the value. Also causes the value of the adjustment to be rounded off to this number of digits, so the retrieved value matches the value the user saw. * digits: the number of decimal places to display, e.g. use 1 to display 1.0, 2 to display 1.00 etc. * Returns: digits --- set_digits(digits) Same as digits=. * digits: the number of decimal places to display, e.g. use 1 to display 1.0, 2 to display 1.00 etc. * Returns: self --- draw_value? Returns whether the current value is displayed as a string next to the slider. * Returns: whether the current value is displayed as a string. --- draw_value=(draw_value) Specifies whether the current value is displayed as a string next to the slider. * draw_value : true or false * Returns: draw_value --- set_draw_value(draw_value) Same as draw_value=. * draw_value : true or false * Returns: self --- value_pos Gets the position in which the current value is displayed. * Returns: the position in which the current value is displayed. --- value_pos=(pos) Sets the position in which the current value is displayed. * pos: the position in which the current value is displayed. * Returns: pos --- set_value_pos(pos) Same as value_pos=. * pos: the position in which the current value is displayed. * Returns: self == signals --- format-value: self, digits * self: Gtk::Scale * digits: the number of decimal places to display. * widget: the child widget of the handlebox. (this argument provides no extra information and is here only for backwards-compatibility) ((<Masao>)) ------------------------- = class Gtk::Scale A Gtk::Scale is a slider control used to select a numeric value. To use it, you'll probably want to investigate the methods on its base class, Gtk::Range, in addition to the methods for Gtk::Scale itself. To set the value of a scale, you would normally use Gtk::Range#value=. To detect changes to the value, you would normally use the "value_changed" signal. The Gtk::Scale widget is an abstract class, used only for deriving the subclasses Gtk::HScale and Gtk::VScale. To create a scale widget, call Gtk::HScale.new or Gtk::VScale.new. == super class * ((<Gtk::Range>)) == public instance methods --- digits Gets the number of decimal places that are displayed in the value. * Returns: the number of decimal places that are displayed. --- digits=(digits) Sets the number of decimal places that are displayed in the value. Also causes the value of the adjustment to be rounded off to this number of digits, so the retrieved value matches the value the user saw. * digits: the number of decimal places to display, e.g. use 1 to display 1.0, 2 to display 1.00 etc. * Returns: digits --- set_digits(digits) Same as digits=. * digits: the number of decimal places to display, e.g. use 1 to display 1.0, 2 to display 1.00 etc. * Returns: self --- draw_value? Returns whether the current value is displayed as a string next to the slider. * Returns: whether the current value is displayed as a string. --- draw_value=(draw_value) Specifies whether the current value is displayed as a string next to the slider. * draw_value : true or false * Returns: draw_value --- set_draw_value(draw_value) Same as draw_value=. * draw_value : true or false * Returns: self --- value_pos Gets the position in which the current value is displayed. * Returns: the position in which the current value is displayed. --- value_pos=(pos) Sets the position in which the current value is displayed. * pos: the position in which the current value is displayed. * Returns: pos --- set_value_pos(pos) Same as value_pos=. * pos: the position in which the current value is displayed. * Returns: self == signals --- format-value: self, digits * self: Gtk::Scale * digits: the number of decimal places to display. * widget: the child widget of the handlebox. (this argument provides no extra information and is here only for backwards-compatibility) ((<Masao>))