Update for recent changes
[atk.git] / docs / tmpl / atkvalue.sgml
blob0e17efd68661a9fe16aa8934f4af1e570b746246
1 <!-- ##### SECTION Title ##### -->
2 AtkValue
4 <!-- ##### SECTION Short_Description ##### -->
5 ATK Interface implemented by valuators and components which display or
6 select a value from a bounded range of values.
8 <!-- ##### SECTION Long_Description ##### -->
9 <para>
10 #AtkValue should be implemented for components which either display a
11 value from a bounded range, or which allow the user to specify a value
12 from a bounded range, or both. For instance, most sliders and range
13 controls, as well as dials, should have #AtkObject representations which
14 implement #AtkValue on the component's behalf. #AtKValues may be
15 read-only, in which case attempts to alter the value return FALSE to
16 indicate failure.
17 </para>
19 <!-- ##### SECTION See_Also ##### -->
20 <para>
22 </para>
24 <!-- ##### STRUCT AtkValue ##### -->
25 <para>
27 </para>
30 <!-- ##### STRUCT AtkValueIface ##### -->
31 <para>
33 </para>
35 @parent:
36 @get_current_value:
37 @get_maximum_value:
38 @get_minimum_value:
39 @set_current_value:
40 @pad1:
41 @pad2:
43 <!-- ##### FUNCTION atk_value_get_current_value ##### -->
44 <para>
46 </para>
48 @obj:
49 @value:
52 <!-- ##### FUNCTION atk_value_get_maximum_value ##### -->
53 <para>
55 </para>
57 @obj:
58 @value:
61 <!-- ##### FUNCTION atk_value_get_minimum_value ##### -->
62 <para>
64 </para>
66 @obj:
67 @value:
70 <!-- ##### FUNCTION atk_value_set_current_value ##### -->
71 <para>
73 </para>
75 @obj:
76 @value:
77 @Returns: