I've had the same thing using scribble, but including screenshot images
I just assumed it was pdflatex that was calling libpng, and the problem was
either pdflatex how it was passing the image to libpng, or libpng itself,
rather than anything in racket. (It seemed like a rabbit-hole that I was
unli
I'm currently using Racket 6.1. For some time now, when editing Scribble
files in DrRacket, I've been getting "file has changed on disk" messages
when trying to save or render - not consistently, just every so often.
These are files I am not editing in anything other than DrRacket. I
click "ign
> On 4 Dec 2014, at 02:34, Stephen De Gabrielle wrote:
>
> OT Is native 'look n' feel' still the big deal it was in the 90's?
On OSX, absolutely.
I'm responsible for the Native L&F for VisualWorks Smalltalk (which is entirely
synthetic), and it's a big deal for many of our customers. Even on
> (call-with-continuation-prompt (lambda () (generate-digit)))
With this I'm getting segfault.
May be my eval handler can clear this situation:
bool idaapi Racket_cli_execute_line(const char *line){
if(!global_env)
msg("Racket global_env is null!\n");
else{
mz_jmp_buf * volatile save
I don't think CGC versus 3m is relevant.
My guess is that you need to wrap a prompt around each evaluation of a
top-level form. You can try this manually at first: Does it work to
change each `(generate-digit)` at the end below to
(call-with-continuation-prompt (lambda () (generate-digit)))
? I
Hi all,
I'm trying to embed racket 3m version as interpreter into GUI application. For
custom interpreters this application have two required APIs - first one is init
and the second one is eval string. So in init I'm calling
scheme_register_tls_space and scheme_main_setup after. And in eval I'm
That's helpful, thanks.
I was considering either 64-bit flonum millimeters or 64-bit fixnum
nanometers. If there's not a meaningful speed advantage, I'll go with
flonum millimeters, because they're more readable and thinkable.
Points are traditional in typesetting systems, but that's a habit wort
OT Is native 'look n' feel' still the big deal it was in the 90's?
After the web and smartphones I'm wondering if anyone cares if my app
blends in neatly with the desktop OS GUI?
My users deal with so many different user interfaces, ranging from
distinclty Win3.1 applications, winXP era VB gui's,
Even a tiny bitmap will make the button vertically stretchy, but it weirdly
makes the button bigger.
add this to my last test
(new button%
[label (list (make-bitmap 1 1) "stretchy" 'left )]
[parent frame]
(stretchable-width #t)
(stretchable-height #t)
(callback
(lamb
Using Scribble, how can I use @interaction to document examples in
different languages?
I have noticed the example for Typed Racket on chapter "4.5 Evaluation and
Examples", but is there a way to use @interaction or a similar Scribble
function with a language with a custom reader?
I've worked out it only happens when you have a single line of text- two
lines stretch fine, bitmap stretch fine too
---
#lang racket/gui
;;; The top-level frame
(define frame
(instantiate frame%
("Test")))
(new button%
[label (send /paste in an image/ get-bitmap)]
[parent frame
> Is anyone else getting this bug?
Yes
2014-12-03 15:59 GMT+01:00 Stephen De Gabrielle :
> Is anyone else getting this bug?
>
> On OS X buttons stretch horizontally, but not vertically
>
> Cheers,
> Stephen
>
> Test
> #lang racket/gui
>
> ;;; The top-level frame
> (define frame
> (instantiate fr
I believe the issue is that the underlying Cocoa widget doesn't stretch
vertically. Even tough `racket/gui` asks the button to be taller, Cocoa
draws the button the at the original height.
There's an alternative button style that does stretch, and `racket/gui`
falls back to that alternative style
Is anyone else getting this bug?
On OS X buttons stretch horizontally, but not vertically
Cheers,
Stephen
Test
#lang racket/gui
;;; The top-level frame
(define frame
(instantiate frame%
("Test")))
(new button%
[label "Stretchy Button :)"]
[parent frame]
(stretchable-width
14 matches
Mail list logo