File: Fl_Multiline_Input.i

package info (click to toggle)
pyfltk 1.4.4.0%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,556 kB
  • sloc: python: 7,769; cpp: 356; makefile: 24
file content (24 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* File : Fl_Multiline_Input.i */
//%module Fl_Multiline_Input

%feature("docstring") ::Fl_Multiline_Input
"""
This input field displays '\n' characters as new lines rather than ^J, and 
accepts the Return, Tab, and up and down arrow keys. This is for editing 
multiline text.

This is far from the nirvana of text editors, and is probably only good for 
small bits of text, 10 lines at most. I think FLTK can be used to write a 
powerful text editor, but it is not going to be a built-in feature. Powerful 
text editors in a toolkit are a big source of bloat. 
""" ;

%{
#include "FL/Fl_Multiline_Input.H"
%}

%include "macros.i"

CHANGE_OWNERSHIP(Fl_Multiline_Input)

%include "FL/Fl_Multiline_Input.H"