Re: [racket-users] Want to change Racket GUI application title (on the taskbar)

2020-11-23 Thread KOKOU AFIDEGNON
can you check on* frame%* *label* ? On Mon, Nov 23, 2020 at 6:25 AM JavaCommons wrote: > When I build Racket (scheme) GUI application like this: > > raco exe --gui gui-01.rkt > > Windows taksbar displays the name of the application as "Racket GUI > application". I want to change this name to som

[racket-users] building a GUI rectangle builder: I have a little bug.

2020-11-23 Thread KOKOU AFIDEGNON
I can click to drag in order to draw a rectangle, but when i drag the created rectangle (for position adjustment), a new rectangle is created from the said position. How do i constrain/fix the issue? i have been trying to use key-combination to draw a new rectangle on demand. can you please give a

Re: [racket-users] Want to change Racket GUI application title (on the taskbar)

2020-11-23 Thread JavaCommons
The big problem is when you distribute several racket gui applications as executables, the user cannnot distinguish applications (he does not know which application (icon) to click on the taskbar). 2020年11月23日月曜日 18:30:20 UTC+9 kokou.a...@gmail.com: > can you check on* frame%* *label* ? > > On

[racket-users] Re: building a GUI rectangle builder: I have a little bug.

2020-11-23 Thread KOKOU AFIDEGNON
please disregard the previous code. this si the correct code ``` #lang racket/gui (define (maybe-set-box! b v) (when b (set-box! b v))) (define rect-snip-class% (class snip-class% (inherit set-classname) (super-new) (set-classname "rect-snip-class%") )) (define rect-

[racket-users] EDIT: Building a rectangle builder: trailing rectangle bug.

2020-11-23 Thread KOKOU AFIDEGNON
*please, disregard the previous email, there was a little bug. this is the correct code. the issue still exists. * I can click to drag in order to draw a rectangle, but when i drag the created rectangle (for position adjustment), a new rectangle is created from the said position. How do i constrai

Re: [racket-users] Questions

2020-11-23 Thread Matthew Flatt
At Mon, 23 Nov 2020 00:14:56 -0600, Nate Griswold wrote: > Hello. I have a few questions: > > 1) Why do the docs say that racket_eval and racket_apply eval and apply in > the “initial” or “original” racket thread? I have verified that the thread > id returned from pthread_self when using racket_ap

Re: [racket-users] Re: Copy keybinding in DrRacket not working

2020-11-23 Thread Laurent
On Sun, Nov 22, 2020 at 7:45 PM Dimaugh Silvestris < dimaughsilvest...@gmail.com> wrote: > So I tried adding a custom keybinding using c:c, and now when I open > DrRacket, I get the error: > < /home/dimaugh/prog/rkt/keybindings.rkt: > map-function in keymap%: "c:c" is already mapped as a non-prefi

Re: [racket-users] Re: Copy keybinding in DrRacket not working

2020-11-23 Thread Dimaugh Silvestris
No, as I said in the first mail, I hadn't added any custom keybindings before and so I only had the DrRacket default keybindings, and c:c only showed the keybinding for Copy, though it didn't work. Really odd. On Monday, 23 November 2020 at 14:53:03 UTC+1 laurent...@gmail.com wrote: > On Sun, N

[racket-users] Re: Want to change Racket GUI application title (on the taskbar)

2020-11-23 Thread JavaCommons
electron/rcedit solved the problem. With this solution, taskmanager's display also became "My GUI Program". https://github.com/electron/rcedit/releases/tag/v1.1.1 [for 32bit racket] rcedit-x86.exe gui-01.exe --set-version-string FileDescription "My GUI Program" [for 64bit racket] rcedit-x64.

Re: [racket-users] Re: Want to change Racket GUI application title (on the taskbar)

2020-11-23 Thread Stephen De Gabrielle
Hi I think you can use 'gracket-launcher-names' to set a distinct name https://docs.racket-lang.org/raco/setup-info.html?q=gracket-launcher-names#%28idx._%28gentag._18._%28lib._scribblings%2Fraco%2Fraco..scrbl%29%29%29 I think that is how it is done for the plt-games executable https://github.com

[racket-users] Re: EDIT: Building a rectangle builder: trailing rectangle bug.

2020-11-23 Thread Alex Harsanyi
The snip selection and resize is handled by the pasteboard on-default-event, and it looks like your code also handles events, resulting in duplicate handling. There is no clear solution to this, as the system does not know if you want to select snips or draw rectangles. However, you could u

[racket-users] SRFI 201 and 202: a reference implelmentation and an invitation to discussion

2020-11-23 Thread godek....@gmail.com
Hi, A while ago I proposed a few SRFIs, in particular https://srfi.schemers.org/srfi-201, which provides extensions to core bindings (define, lambda, let, let*, or) https://srfi.schemers.org/srfi-201, which extends SRFI 2 with the capability of pattern matching Recently, with a second draft, I

Re: [racket-users] Re: EDIT: Building a rectangle builder: trailing rectangle bug.

2020-11-23 Thread KOKOU AFIDEGNON
Hi Alex, thanks for your reply. Are you on Slack? On Tue, Nov 24, 2020, 00:21 Alex Harsanyi wrote: > The snip selection and resize is handled by the pasteboard > on-default-event, and it looks like your code also handles events, > resulting in duplicate handling. There is no clear solution to

[racket-users] Apple M1

2020-11-23 Thread Zachary Rippas
Does anyone know when/if a download version of racket will be released that supports Apple's new chip? I am using an M1 laptop and can't launch any intel version of racket; it says quit unexpectedly. -- You received this message because you are subscribed to the Google Groups "Racket Users" gr