summaryrefslogtreecommitdiff
path: root/fluid/function_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2002-12-26 01:15:32 +0000
committerMatthias Melcher <fltk@matthiasm.com>2002-12-26 01:15:32 +0000
commitfcb49a7b139aaa5a0509c1718c107b372839cf47 (patch)
tree6be0fd6c1ef0bf0403bc8722088a1d66b789c5f9 /fluid/function_panel.fl
parenta81ea6a412d844fd8af5b007402320f10b20fa29 (diff)
Fl_Text_Display/Editor would not receive FL_FOCUS events on mouse clicks
which resulted in not showing the insertion cursor. Fluid would not register changes to Fl_Text_Editor widgets unless Enter was pressed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.fl')
-rw-r--r--fluid/function_panel.fl7
1 files changed, 4 insertions, 3 deletions
diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl
index 722c3629d..7ea45f9e0 100644
--- a/fluid/function_panel.fl
+++ b/fluid/function_panel.fl
@@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
-version 1.0102
+version 1.0103
header_name {.h}
code_name {.cxx}
decl {\#include <FL/Fl_Pixmap.H>} {}
@@ -54,10 +54,11 @@ Function {make_code_panel()} {open
Fl_Group {} {open
xywh {10 10 525 120} box DOWN_FRAME resizable
} {
- Fl_Text_Editor code_input {
+ Fl_Text_Editor code_input {selected
xywh {12 12 521 116} box NO_BOX resizable
code0 {o->buffer(new Fl_Text_Buffer);}
code1 {o->textfont(FL_COURIER);}
+ code2 {o->when(FL_WHEN_ENTER_KEY_CHANGED|FL_WHEN_RELEASE);}
}
}
Fl_Return_Button code_panel_ok {
@@ -399,7 +400,7 @@ Function {make_widgetbin()} {open
}
Fl_Button {} {
user_data {"Fl_Output"}
- callback type_make_cb selected
+ callback type_make_cb
tooltip Output xywh {284 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[27]);}
}