Range » History » Version 1
iri, 03/31/2011 07:35 PM
| 1 | 1 | iri | h1. Range |
|---|---|---|---|
| 2 | |||
| 3 | Widgets which visualize an adjustment : scale, scroll bar, ... objects |
||
| 4 | |||
| 5 | !>http://library.gnome.org/devel/gtk/unstable/scales.png! |
||
| 6 | |||
| 7 | {{toc}} |
||
| 8 | |||
| 9 | h2. _gtkRangeSetValues |
||
| 10 | |||
| 11 | Sets min et max, step and page size to a range object. |
||
| 12 | |||
| 13 | Prototype : *fun [ObjGtkWidget [I I] [I I]] ObjGtkWidget* |
||
| 14 | |||
| 15 | table. |
||
| 16 | |*range*|ObjGtkWidget|a valid existing object| |
||
| 17 | |*min_max*|[I I]|the min and the max values availables| |
||
| 18 | |*step_page*|[I I]|the step and the page sizes values| |
||
| 19 | |||
| 20 | +Return+ : ObjGtkWidget : the same object or nil if error |
||
| 21 | |||
| 22 | * _step_ is used when the user clicks on the arrow button / cursor or when he moves the cursor with the arrow keys (by example). |
||
| 23 | * _page_ is used when th user click on the body or he moves the cursor with the page up / page down keys (by example). |
||
| 24 | |||
| 25 | |||
| 26 | Return [[Api]] |