| 1 |
/* File : Fl_Multiline_Input.i */ |
| 2 |
//%module Fl_Multiline_Input |
| 3 |
|
| 4 |
%feature("docstring") ::Fl_Multiline_Input |
| 5 |
""" |
| •6 |
This input field displays '\\n' characters as new lines rather than ^J, and |
| 7 |
accepts the Return, Tab, and up and down arrow keys. This is for editing |
| 8 |
multiline text. |
| 9 |
|
| 10 |
This is far from the nirvana of text editors, and is probably only good for |
| 11 |
small bits of text, 10 lines at most. I think FLTK can be used to write a |
| 12 |
powerful text editor, but it is not going to be a built-in feature. Powerful |
| 13 |
text editors in a toolkit are a big source of bloat. |
| 14 |
""" ; |
| 15 |
|
| 16 |
%{ |
| 17 |
#include "FL/Fl_Multiline_Input.H" |
| 18 |
%} |
| 19 |
|
| 20 |
%include "macros.i" |
| 21 |
|
| 22 |
CHANGE_OWNERSHIP(Fl_Multiline_Input) |
| 23 |
|
| 24 |
%include "FL/Fl_Multiline_Input.H" |