[ruby-gnome2-doc-cvs] [Hiki] update - Gtk::HScale

Back to archive index

ruby-****@lists***** ruby-****@lists*****
2003年 4月 21日 (月) 12:55:53 JST


-------------------------
REMOTE_ADDR = 61.204.181.66
REMOTE_HOST = 
-------------------------
= class Gtk::HScale
The Gtk::HScale widget is used to allow the user to select a value using a horizontal slider. 

The position to show the current value, and the number of decimal places shown can be set using the parent Gtk::Scale class's methods.

== super class
* ((<Gtk::Scale>))

== class methods
--- Gtk::HScale.new(adj)
    Creates a new Gtk::HScale.
    * adj: the Gtk::Adjustment which sets the range of the scale. 
    * Returns: a new GtkHScale.  

--- Gtk::HScale.new(min, max, step)
    Creates a new horizontal scale widget that lets the user input a number between min and max (including min and max) with the increment step. step must be nonzero; it's the distance the slider moves when using the arrow keys to adjust the scale value.
    * min: minimum value(Float)
    * max: maximum value(Float) 
    * step: step increment (tick size) used with keyboard shortcuts(Float)
    * Returns: a new Gtk::HScale 


((<Masao>))
-------------------------
= class Gtk::HScale
The Gtk::HScale widget is used to allow the user to select a value using a horizontal slider. 

The position to show the current value, and the number of decimal places shown can be set using the parent Gtk::Scale class's methods.

== super class
* ((<Gtk::Scale>))

== class methods
--- Gtk::HScale.new(adj)
    Creates a new Gtk::HScale.
    * adj: the Gtk::Adjustment which sets the range of the scale. 
    * Returns: a new Gtk::HScale.  

--- Gtk::HScale.new(min, max, step)
    Creates a new horizontal scale widget that lets the user input a number between min and max (including min and max) with the increment step. step must be nonzero; it's the distance the slider moves when using the arrow keys to adjust the scale value.
    * min: minimum value(Float)
    * max: maximum value(Float) 
    * step: step increment (tick size) used with keyboard shortcuts(Float)
    * Returns: a new Gtk::HScale 


((<Masao>))



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