Hi, Matthias. I'm not sure about it either, but one situation where learners or
users might miss it is when they want to share their work. If their code
follows the design principles HtDP teaches, the world rendering will rely on a
single point of control, say the width and/or height of the
Hi,
I'm tooling around with a current-user-directory and hierarchical-list% in
#lang racket/gui and it seems to be working adding folders works ok, but
when I delete a group of folders I get the following error;
hierarchical-list-compound-item::delete-item: item not found:
The relevant lines from htdp-lang.rkt are
> ;; set the global-port-print-handler after the super class because the super
> sets it too
> (run-in-user-thread
> (lambda ()
>(define my-setup-printing-parameters
>
How do you control the way objects of a class are printed out in
BSL/ISL/etc.? I tried implementing the 'printable' interface but all that
shows up in BSL is
(instantiate (class ...) ...)
Here's what I tried:
;;; thingy.rkt ===
#lang racket
(provide make-thingy)
> On Nov 6, 2017, at 5:51 AM, Milton Silva wrote:
>
> Assuming that the big-bang needs to run on different sized screens and using
> fullscreen mode in big-bang, how can I draw a shape(e.g. rectangle) that
> occupies a percentage of the fullscreen?
I don’t think you can
You probably need to get the dimensions of the screen with get-display-size
from racket/gui
It would be great to have primitives for that in 2htdp/universe.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and
Assuming that the big-bang needs to run on different sized screens and using
fullscreen mode in big-bang, how can I draw a shape(e.g. rectangle) that
occupies a percentage of the fullscreen?
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To
7 matches
Mail list logo