| 1 |
/* File : Fl_Text_Editor.i */ |
| 2 |
//%module Fl_Text_Editor |
| 3 |
|
| 4 |
%feature("docstring") ::Fl_Text_Editor |
| 5 |
""" |
| 6 |
This is the FLTK text editor widget. It allows the user to edit multiple |
| 7 |
lines of text and supports highlighting and scrolling. The buffer that is |
| 8 |
displayed in the widget is managed by the Fl_Text_Buffer class. |
| 9 |
""" ; |
| 10 |
|
| 11 |
%{ |
| 12 |
#include "FL/Fl_Text_Editor.H" |
| 13 |
%} |
| 14 |
|
| 15 |
%include "macros.i" |
| 16 |
|
| 17 |
CHANGE_OWNERSHIP(Fl_Text_Editor) |
| 18 |
|
| 19 |
// because of problems with Key_Binding |
| 20 |
%ignore Fl_Text_Editor::add_key_binding(int key, int state, Key_Func f, Key_Binding** list); |
| 21 |
%ignore Fl_Text_Editor::remove_key_binding(int key, int state, Key_Binding** list); |
| 22 |
%ignore Fl_Text_Editor::remove_all_key_bindings(Key_Binding** list); |
| 23 |
%ignore Fl_Text_Editor::add_default_key_bindings(Key_Binding** list); |
| 24 |
%ignore Fl_Text_Editor::bound_key_function(int key, int state, Key_Binding* list); |
| 25 |
|
| 26 |
%include "FL/Fl_Text_Editor.H" |
| 27 |
|
| 28 |
|