Created
December 20, 2009 07:05
-
-
Save aalmiray/260377 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
application(text: "SWT Demo", location:[100,100], size:[300,150]) { | |
gridLayout() | |
cTabFolder(style: "BOTTOM") { | |
gridData(style:"fill_both") | |
cTabItem("Item1", style:"none") { | |
text(style:"border, multi, v_scroll, h_scroll", "Content for Item1") | |
} | |
cTabItem("Item2", style:"none") { | |
text(style:"border, multi", "Content for Item2") | |
} | |
cTabItem("Item3", style:"none") { | |
composite(){ | |
fillLayout() | |
text(style:"border, multi, v_scroll", "Content for Item3") | |
button("ok") { | |
onEvent('Selection', controller.doit) | |
} | |
} | |
} | |
} | |
tabFolder(style:"NONE") { | |
gridData(style:"fill_both") | |
tabItem("Item4", style:"none") { | |
text( style:"border, multi", "Content for Item4" ) | |
} | |
tabItem("Item5", style:"none") { | |
text(style:"border, multi", "Content for Item5") | |
} | |
tabItem("Item6", style:"none") { | |
text( style:"border, multi", "Content for Item6" ) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment