diff options
author | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2017-04-23 15:19:51 -0400 |
---|---|---|
committer | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2017-04-23 15:19:51 -0400 |
commit | e68c65c36a623aa5a51b069ddc18ccab62a9312d (patch) | |
tree | 5a85819de034d59eea46380b2eae3e0a62d2222d | |
parent | d65c4c634c817eb195e0634ef051d7e5382caaae (diff) |
on launch focus goes to text-field
-rw-r--r-- | Hermes/GUI.rkt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Hermes/GUI.rkt b/Hermes/GUI.rkt index cae776a..a257acd 100644 --- a/Hermes/GUI.rkt +++ b/Hermes/GUI.rkt @@ -115,6 +115,9 @@ [label "Send"] [callback button-do-stuff])) + + (send input focus) ; move focus to text-field + ; get-dc retrieves the canvas' device context. From racket docs. A dc object ; is a drawing context for drawing graphics and text. It represents output ; devices in a generic way. |