| 1 |
/* File : Fl_Adjuster.i */ |
| 2 |
//%module Fl_Adjuster |
| 3 |
|
| 4 |
%feature("docstring") ::Fl_Adjuster |
| 5 |
""" |
| 6 |
The Fl_Adjuster widget has proven to be very useful for values that need a |
| 7 |
was stolen from Prisms, and large dynamic range. |
| 8 |
When you press a button and drag to the right the value increases. When you |
| 9 |
drag to the left it decreases. The largest button adjusts by 100 * step(), |
| 10 |
the next by 10 * step() and that smallest button by step(). Clicking on the |
| 11 |
buttons increments by 10 times the amount dragging by a pixel does. |
| 12 |
Shift + click decrements by 10 times the amount. |
| 13 |
""" ; |
| 14 |
|
| 15 |
%{ |
| 16 |
#include "FL/Fl_Adjuster.H" |
| 17 |
%} |
| 18 |
|
| 19 |
%include "macros.i" |
| 20 |
|
| 21 |
CHANGE_OWNERSHIP(Fl_Adjuster) |
| 22 |
|
| 23 |
SET_FORMAT_STRING_IN_TYPEMAP(char*, format_string) |
| 24 |
SET_FORMAT_STRING_OUT_TYPEMAP(int, format, format_string) |
| 25 |
|
| 26 |
%include "FL/Fl_Adjuster.H" |
| 27 |
|
| 28 |
CLEAR_FORMAT_STRING_OUT_TYPEMAP(int, format) |