diff options
author | Björn Gustavsson <[email protected]> | 2016-06-27 11:48:03 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-06-27 11:49:57 +0200 |
commit | 6931dce17580d097351dd7be09ce7c9ed3f72827 (patch) | |
tree | 2456845e95ed0112c2f08ed8ab6e867686b91d7a /lib/gs/doc/src/examples/ex12.erl | |
parent | dfccd57cb2b69fc3ab01acd0ccbfc894a8403358 (diff) | |
download | otp-6931dce17580d097351dd7be09ce7c9ed3f72827.tar.gz otp-6931dce17580d097351dd7be09ce7c9ed3f72827.tar.bz2 otp-6931dce17580d097351dd7be09ce7c9ed3f72827.zip |
Remove the gs application
The gs application ws deprecated in R15B01.
Diffstat (limited to 'lib/gs/doc/src/examples/ex12.erl')
-rw-r--r-- | lib/gs/doc/src/examples/ex12.erl | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/lib/gs/doc/src/examples/ex12.erl b/lib/gs/doc/src/examples/ex12.erl deleted file mode 100644 index 4af0205061..0000000000 --- a/lib/gs/doc/src/examples/ex12.erl +++ /dev/null @@ -1,33 +0,0 @@ --module(ex12). --copyright('Copyright (c) 1991-97 Ericsson Telecom AB'). --vsn('$Revision: /main/release/2 $ '). - --export([start/0,init/0]). - -start() -> spawn(ex12, init, []). - -init() -> - R=[{window,[{width,200},{height,200},{title,"grid"},{map, true}], - {grid, [{x,10},{y,10},{height,180},{width,180},{columnwidths,[80,60]}, - {rows,{1, 20}}], - [{gridline,[{text,{1,"NAME"}},{text,{2,"PHONE"}}, - {font,{screen,bold,12}},{row,1},{click,false}]}, - {gridline,[{text,{1,"Adam"}},{text,{2,"1234"}},{row,2}]}, - {gridline,[{text,{1,"Beata"}},{text,{2,"4321"}},{row,3}]}, - {gridline,[{text,{1,"Thomas"}},{text,{2,"1432"}},{row,4}]}, - {gridline,[{text,{1,"Bond"}},{text,{2,"007"}},{row,5}]}, - {gridline,[{text,{1,"King"}},{text,{2,"112"}},{row,6}]}, - {gridline,[{text,{1,"Eva"}},{text,{2,"4123"}},{row,7}]}]}}], - gs:create_tree(gs:start(),R), - loop(). - -loop() -> - receive - {gs,_Win,destroy,_Data,_Args} -> bye; - {gs,_Gridline,click,_Data,[Col,Row,Text|_]} -> - io:format("Click at col:~p row:~p text:~p~n",[Col,Row,Text]), - loop(); - Msg -> - io:format("Got ~p~n",[Msg]), - loop() - end. |