fltk/test/tabs.fl
Matthias Melcher 7ae0ff0240 Updated OSX subwindow simulation code to better add and remove from the clipping list
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 11:03:05 +00:00

143 lines
4.1 KiB
Plaintext

# data file for the Fltk User Interface Designer (fluid)
version 1.0108
header_name {.h}
code_name {.cxx}
Function {} {open
} {
Fl_Window foo_window {open
xywh {423 205 320 331} type Double resizable visible
} {
Fl_Tabs {} {open
tooltip {the various index cards test different aspects of the Fl_Tabs widget} xywh {10 10 300 200} selection_color 4 labelcolor 7 resizable
} {
Fl_Group {} {
label Label1 open selected
tooltip {this Tab tests correct keyboard navigation between text input fields} xywh {10 30 300 180} selection_color 1 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
tooltip {tab2 tests among other things the cooperation of modal windows and tabs} xywh {10 30 300 180} selection_color 2 hide
} {
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}
code0 {\#include <FL/fl_ask.H>}
}
Fl_Input {} {
label {input in box2}
xywh {140 100 100 30}
}
Fl_Button {} {
label {This is stuff inside the Fl_Group "tab2"}
xywh {30 140 260 30}
}
Fl_Button {} {
label {Test event blocking by modal window}
callback {fl_message("Make sure you cannot change the tabs while this modal window is up");}
xywh {30 170 260 30}
code0 {\#include <FL/fl_ask.H>}
}
}
Fl_Group {} {
label tab3 open
tooltip {tab3 checks for correct keyboard navigation} xywh {10 30 300 180} selection_color 3 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
tooltip {this tab show the issue of indicating a selcted tab if the tab layouts are very similar} xywh {10 30 300 180} selection_color 5 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
tooltip {tab5 verifies if visibility requests are handled correctly} xywh {10 30 300 180} labeltype ENGRAVED_LABEL hide
} {
Fl_Button {} {
label button2
tooltip {button2 has a different tooltp than tab5} xywh {20 45 60 80}
}
Fl_Button {} {
label button
xywh {90 45 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 selection_color 0 labelfont 8 labelsize 10 align 130
}
Fl_Group {} {open
xywh {20 145 40 55} box THIN_DOWN_BOX color 173 align 16
class Fl_Window
} {}
Fl_Group {} {
label {subwindows:} open
xywh {65 145 40 55} box THIN_DOWN_BOX color 167
class Fl_Window
} {}
Fl_Group {} {open
xywh {110 145 40 55} box THIN_DOWN_BOX color 239 align 16
class Fl_Window
} {}
}
}
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>}
}
}
}