| 1 |
/* File : Fl_Value_Output.i */ |
| 2 |
//%module Fl_Value_Output |
| 3 |
|
| 4 |
%feature("docstring") ::Fl_Value_Output |
| 5 |
""" |
| 6 |
The Fl_Value_Output widget displays a floating point value. If step() is |
| 7 |
not zero, the user can adjust the value by dragging the mouse left and right. |
| 8 |
The left button moves one step() per pixel, the middle by 10 * step(), and |
| 9 |
the right button by 100 * step(). |
| 10 |
|
| 11 |
This is much lighter-weight than Fl_Value_Input because it contains no text |
| 12 |
editing code or character buffer. |
| 13 |
""" ; |
| 14 |
|
| 15 |
%{ |
| 16 |
#include "FL/Fl_Value_Output.H" |
| 17 |
%} |
| 18 |
|
| 19 |
%include "macros.i" |
| 20 |
|
| 21 |
CHANGE_OWNERSHIP(Fl_Value_Output) |
| 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_Value_Output.H" |
| 27 |
|
| 28 |
CLEAR_FORMAT_STRING_OUT_TYPEMAP(int, format) |