Project

General

Profile

Range » History » Version 2

iri, 03/31/2011 07:53 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 2 iri
h2. _gtkRangeGet
26
27
Returns the current value or nil if error
28
29
Prototype : *fun [ObjGtkWidget] F*
30
31
h2. _gtkRangeSet
32
33
Sets the current value
34
35
Prototype : *fun [ObjGtkWidget I] ObjGtkWidget*
36
37
table.
38
|*range*|ObjGtkWidget|a valid existing object|
39
|*value*|F|the new value. It will be forced to inside the range if it is outside.|
40
41
+Return+ : ObjGtkWidget : the same object or nil if error
42
43
44
45 1 iri
46
Return [[Api]]