[racket-dev] editor-canvas% not visually distinguished

From: Marijn (hkBst at gentoo.org)
Date: Thu Sep 1 04:49:22 EDT 2011

Hi list,

on GTK, editor-canvas%es are not visually distinguished, like
text-field%s are, to indicate that it is possible to enter text; the
following code:



#lang racket/gui

(define root (new frame% (label "test")))

(new text-field% (parent root) (label "Input: "))

(define text (new text%))

(new editor-canvas% (parent root) (editor text) (min-width 40)
(min-height 50))

(send root show #t)



produces the attached screenshot on my system,

Marijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: editor-canvas-not-visually-distinguished.png
Type: image/png
Size: 4845 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110901/665910af/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110901/665910af/attachment.sig>

Posted on the dev mailing list.