1 # data file for the Fltk User Interface Designer (fluid)
5 decl {\#include <string.h>} {}
7 widget_class Fl_Text_Edit_Window {open selected
8 xywh {375 272 355 410} type Double resizable
9 code0 {this->size_range( 0, 0, 400, 400 );}
10 class Fl_Window modal visible
16 Fl_Text_Editor text_editor {
17 xywh {5 58 345 320} resizable
18 code0 {o->buffer( new Fl_Text_Buffer );}
23 Fl_Return_Button return_button {
30 xywh {5 386 240 19} resizable
31 code0 {o->labeltype( FL_NO_LABEL );}
36 Function {fl_text_edit( const char *title, const char *button_text, const char *initial_text )} {open C return_type {char *}
38 code {Fl_Text_Edit_Window tew( 355, 410, title );
40 tew.return_button->label( button_text );
41 tew.title_box->label( title );
42 tew.text_editor->buffer()->text( initial_text );
49 return strdup( tew.text_editor->buffer()->text() );} {}