Debian Codegraph @

swig/Fl_Scrollbar.i

raw
1 /* File : Fl_Scrollbar.i */
2 //%module Fl_Scrollbar
3
4 %feature("docstring") ::Fl_Scrollbar
5 """
6 The Fl_Scrollbar widget displays a slider with arrow buttons at the ends
7 of the scrollbar. Clicking on the arrows move up/left and down/right by
8 linesize(). Scrollbars also accept FL_SHORTCUT events: the arrows move by
9 linesize(), and vertical scrollbars take Page Up/Down (they move by the
10 page size minus linesize()) and Home/End (they jump to the top or bottom).
11
12 Scrollbars have step(1) preset (they always return integers). If desired
13 you can set the step() to non-integer values. You will then have to use
14 casts to get at the floating-point versions of value() from Fl_Slider.
15 """ ;
16
17 %{
18 #include "FL/Fl_Scrollbar.H"
19 %}
20
21 %include "macros.i"
22
23 CHANGE_OWNERSHIP(Fl_Scrollbar)
24
25 SET_FORMAT_STRING_IN_TYPEMAP(char*, format_string)
26 SET_FORMAT_STRING_OUT_TYPEMAP(int, format, format_string)
27
28 %include "FL/Fl_Scrollbar.H"
29
30 CLEAR_FORMAT_STRING_OUT_TYPEMAP(int, format)