]> Creatis software - bbtk.git/blob - packages/wx/bbs/appli/exampleRadioButton.bbs
7feb4021d1bdcdb477844f664f903c662287217a
[bbtk.git] / packages / wx / bbs / appli / exampleRadioButton.bbs
1 description "Simple test of wx::RadioButton widget"
2 author "jean-pierre.roux@creatis.univ-lyon1.fr"
3 category "example"
4
5 load wx
6 load std
7
8 print "Simple check of RadioButton"
9 new RadioButton rb
10 //
11 // Note : missing positions are dealt with
12 //
13  set rb.Title "My Radio Fantastic RadioButton"
14  set rb.In0 "Zero/Cero/Cepher"
15  set rb.In1 "One/Uno/Wahed"
16  set rb.In2 "Two/Dos/Thayn"
17  set rb.In4 "Four/Quatro/Arbaa"
18  set rb.In5 "Five/Cinco/Khamsin"
19  set rb.In8 "Eight/Ocho/Thamanya"
20  set rb.In 2
21  set rb.WinHeight 160
22  set rb.WinWidth 300
23   
24 print "Initial value : $rb.Out$\n"
25
26 new OutputText t
27  set t.Title "This is what you clicked"
28  set t.WinHeight 80
29  set t.WinWidth 500 
30
31 connect rb.Out t.In
32 connect rb.BoxChange t.BoxExecute