diff options
author | Sverker Eriksson <[email protected]> | 2017-08-30 21:00:35 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-08-30 21:00:35 +0200 |
commit | 44a83c8860bbd00878c720a7b9d940b4630bab8a (patch) | |
tree | 101b3c52ec505a94f56c8f70e078ecb8a2e8c6cd /lib/gs/doc/src/examples/ex6.erl | |
parent | 7c67bbddb53c364086f66260701bc54a61c9659c (diff) | |
parent | 040bdce67f88d833bfb59adae130a4ffb4c180f0 (diff) | |
download | otp-44a83c8860bbd00878c720a7b9d940b4630bab8a.tar.gz otp-44a83c8860bbd00878c720a7b9d940b4630bab8a.tar.bz2 otp-44a83c8860bbd00878c720a7b9d940b4630bab8a.zip |
Merge tag 'OTP-20.0' into sverker/20/binary_to_atom-utf8-crash/ERL-474/OTP-14590
Diffstat (limited to 'lib/gs/doc/src/examples/ex6.erl')
-rw-r--r-- | lib/gs/doc/src/examples/ex6.erl | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/gs/doc/src/examples/ex6.erl b/lib/gs/doc/src/examples/ex6.erl deleted file mode 100644 index ca73deb78e..0000000000 --- a/lib/gs/doc/src/examples/ex6.erl +++ /dev/null @@ -1,23 +0,0 @@ --module(ex6). --copyright('Copyright (c) 1991-97 Ericsson Telecom AB'). --vsn('$Revision: /main/release/2 $ '). - --export([start/0,init/0]). - -start() -> - spawn(ex6,init,[]). - -init() -> - S = gs:start(), - W = gs:create(window,S,[{map,true},{keypress,true}, - {buttonpress,true},{motion,true}]), - gs:create(button,W,[{label,{text,"PressMe"}},{enter,true}, - {leave,true}]), - event_loop(). - -event_loop() -> - receive - X -> - io:format("Got event: ~w~n",[X]), - event_loop() - end. |