From 53d56dd9103e61ed6e2206580aad9f488e60939e Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Mon, 18 Feb 2008 13:38:22 +0000 Subject: [PATCH] Add some examples --- packages/wx/bbs/appli/exLayoutTDown.bbs | 23 +++++++++++++++++++++++ packages/wx/bbs/appli/exLayoutTLeft.bbs | 24 ++++++++++++++++++++++++ packages/wx/bbs/appli/exLayoutTRight.bbs | 24 ++++++++++++++++++++++++ packages/wx/bbs/appli/exLayoutTUp.bbs | 23 +++++++++++++++++++++++ 4 files changed, 94 insertions(+) create mode 100644 packages/wx/bbs/appli/exLayoutTDown.bbs create mode 100644 packages/wx/bbs/appli/exLayoutTLeft.bbs create mode 100644 packages/wx/bbs/appli/exLayoutTRight.bbs create mode 100644 packages/wx/bbs/appli/exLayoutTUp.bbs diff --git a/packages/wx/bbs/appli/exLayoutTDown.bbs b/packages/wx/bbs/appli/exLayoutTDown.bbs new file mode 100644 index 0000000..37994e9 --- /dev/null +++ b/packages/wx/bbs/appli/exLayoutTDown.bbs @@ -0,0 +1,23 @@ +description "Simple test of wx::LayoutTDown widgets" +author "jean-pierre.roux@creatis.univ-lyon1.fr" +category "test" + +load std +include wx + +new LayoutTDown main + +new Slider s1 + set s1.Title "SliderUpLeft" + +new Slider s2 + set s2.Title "SliderUpRight" + +new Slider s3 + set s3.Title "SliderDown" + +connect s1.Widget main.Widget1 +connect s2.Widget main.Widget2 +connect s3.Widget main.Widget3 + +exec main diff --git a/packages/wx/bbs/appli/exLayoutTLeft.bbs b/packages/wx/bbs/appli/exLayoutTLeft.bbs new file mode 100644 index 0000000..8ea70e7 --- /dev/null +++ b/packages/wx/bbs/appli/exLayoutTLeft.bbs @@ -0,0 +1,24 @@ +description "Simple test of wx::LayoutTLeft widgets" +author "jean-pierre.roux@creatis.univ-lyon1.fr" +category "test" + +load std +include wx + +new LayoutTLeft main + +new Slider s1 + set s1.Title "SliderLeft" + set s1.Orientation V + +new Slider s2 + set s2.Title "SliderRigthUpt" + +new Slider s3 + set s3.Title "SliderRightDown" + +connect s1.Widget main.Widget1 +connect s2.Widget main.Widget2 +connect s3.Widget main.Widget3 + +exec main diff --git a/packages/wx/bbs/appli/exLayoutTRight.bbs b/packages/wx/bbs/appli/exLayoutTRight.bbs new file mode 100644 index 0000000..26600cb --- /dev/null +++ b/packages/wx/bbs/appli/exLayoutTRight.bbs @@ -0,0 +1,24 @@ +description "Simple test of wx::LayoutTRight widgets" +author "jean-pierre.roux@creatis.univ-lyon1.fr" +category "test" + +load std +include wx + +new LayoutTRight main + +new Slider s1 + set s1.Title "SliderLeft" + set s1.Orientation V + +new Slider s2 + set s2.Title "SliderRigthUpt" + +new Slider s3 + set s3.Title "SliderRightDown" + +connect s1.Widget main.Widget1 +connect s2.Widget main.Widget2 +connect s3.Widget main.Widget3 + +exec main diff --git a/packages/wx/bbs/appli/exLayoutTUp.bbs b/packages/wx/bbs/appli/exLayoutTUp.bbs new file mode 100644 index 0000000..1854b94 --- /dev/null +++ b/packages/wx/bbs/appli/exLayoutTUp.bbs @@ -0,0 +1,23 @@ +description "Simple test of wx::LayoutTUp widgets" +author "jean-pierre.roux@creatis.univ-lyon1.fr" +category "test" + +load std +include wx + +new LayoutTUp main + +new Slider s1 + set s1.Title "SliderUp" + +new Slider s2 + set s2.Title "SliderDownLeft" + +new Slider s3 + set s3.Title "SliderDownRight" + +connect s1.Widget main.Widget1 +connect s2.Widget main.Widget2 +connect s3.Widget main.Widget3 + +exec main -- 2.47.1