]> Creatis software - bbtk.git/blob - packages/wx/bbs/appli/exampleTextInputOutput.bbs
catreg exemple
[bbtk.git] / packages / wx / bbs / appli / exampleTextInputOutput.bbs
1 description "Input/OutputText widgets example"
2 author "laurent.guigues at creatis.insa-lyon.fr"
3 category "example"
4
5 include wx
6 new InputText in
7 new OutputText out
8 connect in.Out out.In
9 connect in.BoxChange out.BoxExecute
10
11 new LayoutLine window
12 connect in.Widget window.Widget1
13 connect out.Widget window.Widget2
14
15 load std
16 set window.WinHeight 100
17 set window.WinWidth 200
18
19 set in.Title "InputText"
20 set out.Title "OutputText"
21 set in.In "Initial input text"
22 set out.In "Initial output text"
23
24 exec window