diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-06 18:21:25 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-06 18:21:25 +0000 |
| commit | f9039b2ae21988783feae9b362818e7923e82d14 (patch) | |
| tree | 6d6fe3679d73448758f9794e7d4d4f6b22a4adad /test/tabs.fl | |
| parent | 67e89232f9ba067825a158734a09e0fa21aacbe3 (diff) | |
Initial revision
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/tabs.fl')
| -rw-r--r-- | test/tabs.fl | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/test/tabs.fl b/test/tabs.fl new file mode 100644 index 000000000..13b97796a --- /dev/null +++ b/test/tabs.fl @@ -0,0 +1,121 @@ +# data file for the Fltk User Interface Designer (fluid) +version 0.99 +gridx 10 +gridy 10 +snap 3 +Function {} {open +} { + Fl_Window foo_window {open + xywh {329 266 321 324} hide resizable + } { + Fl_Tabs {} {open + xywh {10 10 300 200} color {47 15} resizable + } { + Fl_Group {} { + label Label1 open + xywh {10 30 300 180} hide resizable + } { + Fl_Input {} { + label {input:} + xywh {60 50 240 40} + } + Fl_Input {} { + label {input2:} + xywh {60 90 240 30} + } + Fl_Input {} { + label {input3:} + xywh {60 120 240 80} + } + } + Fl_Group {} { + label tab2 open + xywh {10 30 300 180} hide + } { + Fl_Button {} { + label button1 + xywh {20 60 100 30} + } + Fl_Input {} { + label {input in box2} + xywh {140 100 100 30} + } + Fl_Button {} { + label {This is stuff inside the Fl_Group "tab2"} selected + xywh {30 140 260 30} + } + } + Fl_Group {} { + label tab3 open + xywh {10 30 300 180} hide + } { + Fl_Button {} { + label button2 + xywh {20 60 60 80} + } + Fl_Button {} { + label button + xywh {80 60 60 80} + } + Fl_Button {} { + label button + xywh {140 60 60 80} + } + } + Fl_Group {} { + label tab4 open + xywh {10 30 300 180} labelfont 2 hide + } { + Fl_Button {} { + label button2 + xywh {20 50 60 110} + } + Fl_Button {} { + label button + xywh {80 50 60 110} + } + Fl_Button {} { + label button + xywh {140 50 60 110} + } + } + Fl_Group {} { + label { tab5 } open + xywh {10 30 300 180} labeltype ENGRAVED_LABEL + } { + Fl_Button {} { + label button2 + xywh {20 80 60 80} + } + Fl_Button {} { + label button + xywh {90 90 60 80} + } + Fl_Clock {} { + label {Make sure this clock does not use processor time when this tab is hidden or window is iconized} + xywh {160 50 100 100} box OSHADOW_BOX color {238 0} labelfont 8 labelsize 10 align 130 + } + } + } + Fl_Input {} { + label {inputA:} + xywh {60 220 130 30} + } + Fl_Input {} { + label {inputB:} + xywh {60 250 250 30} + } + Fl_Button {} { + label cancel + callback {exit(1);} + xywh {180 290 60 30} + code0 {\#include <stdlib.h>} + } + Fl_Return_Button {} { + label OK + callback {exit(0);} + xywh {250 290 60 30} + code0 {\#include <stdlib.h>} + } + } +} |
