You are using Windows?
Am Samstag, 21. Juni 2014 schrieb Jos Koot:
>
> I find the following:
>
> (write (string->list #< a
> a
> end
> ))
>
> In DrRacket (#\a #\newline #\a)
> In Racket: (#\a #return #\newline #\a #\return)
>
> Jos
>
>
> > -Original Message-
> > From: Robby Findler
For the "Racket Hall of Fame": we programmed the core component for ecg
analysis with DrRacket: http://pulse7.at
--
Mag. Dr. Nikolaus Klepp
Einnehmerstraße 14
A-4810 Gmunden
Tel.: +43 650 82 11 724
email: off...@klepp.biz
Racket Users list:
http://li
In answer to my question, the easy way is to patch
racket-5.3.4/collects/mred/private/check.rkt and
racket-5.3.4/collects/mred/private/mrcontainer.rkt
Anybody in need of this, patch is attached.
Nik
> My application again :-)
>
>I need to display some hundred plots in a vertical-panel%. Each g
My application again :-)
I need to display some hundred plots in a vertical-panel%. Each graph is ~ 150
pixel in height (and should not be smaller than 100 pixel). Now there is a
size constraint of 1 pixel per area-container<%>, so that I cannot
display 100 graphs at a time.
Is there an ea
nted. They only
> recompute the bitmap when the plot is manipulated (i.e. zoomed or
> rotated). If you put plot snips on your GUI, you would get manipulatable
> plots, and the snips' internal caching might keep your app responsive
> when being flooded by paint messages.
>
> Nei
As I'm writing a real-world application in racket (and it's a great tool to do
so!) I just ran into another problem:
When a a panel% has a visible scrollbar and there are enough children to
actually use that scrollbar, then all children get flooded with on-paint
calls when the scrollbar is use
orkaround.
>
> At Mon, 10 Jun 2013 12:23:22 +0200, "Mag. Dr. Nikolaus Klepp" wrote:
> > Hi!
> >
> > I'm having some issue with fonts when creating GUI elements.
> >
> > In my understanding, when I pass [font some-font] when creating a new
> >
Hi!
I'm having some issue with fonts when creating GUI elements.
In my understanding, when I pass [font some-font] when creating a new object,
then that object should take that font to render its controls. This works on
button%, but not on other elemts like group-box-panel% or tab-panel%.
So,
ame] [label " custom-font " ] [font
(make-object font% 28 'default)] )
(send frame show #t)
--
Mag. Dr. Nikolaus Klepp
Einnehmerstraße 14
A-4810 Gmunden
Tel.: +43 650 82 11 724
email: off...@klepp.biz
dr.kl...@gmx.at
Racket Users list:
http://lists.racket-lang.org/users
Am Mittwoch, 16. Januar 2013 schrieb Tony Garnock-Jones:
> On 01/15/2013 05:40 AM, Laurent wrote:
> > The purpose is to be able to relaunch the process.
>
> Another approach might be to create an outer wrapper which builds a
> nested namespace, custodian etc, within which your program is
> dynamic-
Hi all!
I want to make a follscreen window on Xorg without windowmanager. This code
works, when a windowmanager is running, but it fails without, i.e. the window
is 300x300.
#lang racket/gui
(define frame
(new frame%
[label "test"]
[width 300]
[height 300]
[style
(list
Hi!
Is there a way to make DrRacket use the "focus-follows-mouse" model? i.e. I do
not want to click the mouse button when I change from REPL to editor and vice
versa, I just want to move the mouse over.
Nik
--
Mag. Dr. Nikolaus Klepp
Einnehmerstraße 14
A-4810 Gmunden
Tel.: +43 650
>
> At Tue, 20 Nov 2012 09:20:06 +0100, "Nikolaus Klepp" wrote:
> > Thanks to Matthew I have a printer dialog :-)
> >
> > I can actually print a page, but (send dc end-doc) throws an error.
> >
> > Example:
> >
> > (define pss (get-page
Thanks to Matthew I have a printer dialog :-)
I can actually print a page, but (send dc end-doc) throws an error.
Example:
(define pss (get-page-setup-from-user "Drucke das Wunderwerk"))
(when pss
(current-ps-setup pss)
(define dc (new printer-dc%))
(send dc start-doc "")
(sen
Thanks to Matthew I have a printer dialog :-)
I can actually print a page, but (send dc end-doc) throws an error.
Example:
(define pss (get-page-setup-from-user "Drucke das Wunderwerk"))
(when pss
(current-ps-setup pss)
(define dc (new printer-dc%))
(send dc start-doc "")
(sen
Hi all!
I would like to get a printer dialog. The docs say, "When a printer-dc% object
is created, the user gets platform-specific modal dialogs for configuring the
output."
Now, when I try it:
(new printer-dc%)
I get a dc back, but no dialog appears. What am I doing wrong?
Nik
___
Hi all!
I would like to get a printer dialog. The docs say, "When a printer-dc% object
is created, the user gets platform-specific modal dialogs for configuring the
output."
Now, when I try it:
(new printer-dc%)
I get a dc back, but no dialog appears. What am I doing wrong?
Nik
_
> Carl Eastlund
>
> On Mon, Sep 10, 2012 at 12:41 PM, Nikolaus Klepp wrote:
> > Hi all,
> >
> > In tinyscheme I can do this:
> > > (+ (string->symbol "1.2") 1)
> >
> > 2.2
> >
> > In racket that does not work, because
> &
Hi all,
In tinyscheme I can do this:
> (+ (string->symbol "1.2") 1)
2.2
In racket that does not work, because
> (string->symbol "1.2")
'|1.2|
which is not a number. I can use this workaround:
> (+ (read (open-input-string "1.2")) 1)
2.2
But is there a clean way to get the above line from
Now tht's really nice! Thanks for sharing.
Nik
Am Sonntag, 11. März 2012 schrieb Jens Axel Søgaard:
> Hi All,
>
> The Maxima in Racket experiment now has a working REPL.
> I have attached a screenshot.
>
> The Maxima command tex(expr) will convert an expression into TeX.
> Jays slideshow-latex pa
Am Mittwoch, 8. Februar 2012 schrieb Neil Toronto:
> Unfortunately, you can't. You'll have to delete the old one from the
> read-only-text% and insert a new one.
I was afraid, you'd say that.
> If this is for resizing, you have another problem: creating a new plot
> will reset the viewing angles.
Am Dienstag, 7. Februar 2012 schrieb Neil Toronto:
> The relevant code is in "/collects/plot/common/gui.rkt",
> specifically the `make-snip-frame' function.
>
> The basic idea is to make a canvas containing a single read-only-text%
> that is initially writable, insert the snip (which you get from
>
Am Dienstag, 7. Februar 2012 schrieb Neil Toronto:
> The relevant code is in "/collects/plot/common/gui.rkt",
> specifically the `make-snip-frame' function.
>
> The basic idea is to make a canvas containing a single read-only-text%
> that is initially writable, insert the snip (which you get from
>
Hi!
When I create a 3D plot in DrRacket, I can rotate the plot by clicking on it
and dragging the mouse. Now I would like to embed the same plot with the same
ability in my GUI. Is there an easy way to do that?
Nik
--
Mag. Dr. Nikolaus Klepp
Einnehmerstraße 14
A-4810 Gmunden
Tel.: +43 650 82
24 matches
Mail list logo