summaryrefslogtreecommitdiff
path: root/test/tabs.fl
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-08-12 00:43:12 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-08-12 00:43:12 +0000
commit42bfef91a7e115826a4701ce064c2d7e2df7a88e (patch)
treed74e5f5813128ade1ee6e65b7ab50982d1a9dc82 /test/tabs.fl
parent4c1997b416b3ac46b9ac11ec00ddcfc430e8f8e6 (diff)
Put new modal test in the right source file...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/tabs.fl')
-rw-r--r--test/tabs.fl17
1 files changed, 8 insertions, 9 deletions
diff --git a/test/tabs.fl b/test/tabs.fl
index 0fe92be4e..c2e03db02 100644
--- a/test/tabs.fl
+++ b/test/tabs.fl
@@ -1,14 +1,11 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0100
header_name {.h}
-code_name {.cxx}
-gridx 10
-gridy 10
-snap 3
+code_name {.cxx}
Function {} {open
} {
Fl_Window foo_window {open
- xywh {674 782 321 324} resizable visible
+ xywh {674 671 321 324} resizable visible
} {
Fl_Tabs {} {open
xywh {10 10 300 200} selection_color 7 resizable
@@ -32,10 +29,12 @@ Function {} {open
}
Fl_Group {} {
label tab2 open
- xywh {10 30 300 180} selection_color 2 hide
+ xywh {10 30 300 180} selection_color 2
} {
Fl_Button {} {
label button1
+ callback {fl_message("Test to see if this modal window prevents you from "
+ "changing the tabs. It should.");}
xywh {20 60 100 30}
}
Fl_Input {} {
@@ -82,8 +81,8 @@ Function {} {open
}
}
Fl_Group {} {
- label { tab5 } open selected
- xywh {10 30 300 180} labeltype ENGRAVED_LABEL
+ label { tab5 } open
+ xywh {10 30 300 180} labeltype ENGRAVED_LABEL hide
} {
Fl_Button {} {
label button2
@@ -115,7 +114,7 @@ Function {} {open
}
Fl_Return_Button {} {
label OK
- callback {exit(0);}
+ callback {exit(0);} selected
xywh {250 290 60 30}
code0 {\#include <stdlib.h>}
}