Le 09/04/2016 15:15, Robby Findler a écrit :
Does this code help?
It works, but the problem is there is no ways to choose which funcs I
want to include in a keymap, I must include them all :, and I don't want
emacs or open/save file keybindings...
I finally took some codes from the link
Le 08/04/2016 20:27, Matthew Flatt a écrit :
> At Fri, 8 Apr 2016 18:50:09 +0200, mazert wrote:
>> I try to find an easy way to add the general mouse selection system
>> (double click on a word will select it for example) on a text-field gui
>> component.
>
> In the cas
Hello,
I try to find an easy way to add the general mouse selection system
(double click on a word will select it for example) on a text-field gui
component.
In the multi file search tool of Drracket, text-fields have this
feature, but by looking the source code :
Le 27/07/2015 04:13, Jason Yeo a écrit :
Hi Everyone!
For anyone out there who finds IRC too daunting and difficult to use, there's a
slack team created just for racketlang at http://racket.slack.com. Get invites
to the team at http://racket-slack.herokuapp.com.
Cheers,
Jason
Hello,
IRC
Le 14/07/2015 18:12, Matthew Flatt a écrit :
If you're trying to move the text from one editor to another, then
it's probably easiest to use the `copy` and `paste` methods.
No, I try to convert it into html format. But first i need to get the
text + styles applied to some part of the text.
Hello,
When i try to connect on smtp.google.com on port 587 (submission)
through tcp-connect, it works perfectly ; but if instead of 587 i put
666 (for example) it stucks cause the server dont answer.
So after reading fews hours the doc, I didn't found a native solution to
implement this,
Le 17/07/2015 16:16, Matthias Felleisen a écrit :
This actually works. But I am not sure why you'd want to do something like that.
Ah yes, letrec is what I was looking for :) . The goal was to test a
port with a specific timeout (here I set it to two for dev purposes, but
10 is better). I
Le 17/07/2015 17:08, Matthew Flatt a écrit :
It's possible (but unlikely) for the thread bound to `a` to complete
and try to kill `b` before the variable `b` is initialized.
Ah ok, yes that is risky in this case, plus we didn't close the tcp
connection.
Here's what I'd do:
* Create a
Le 17/07/2015 17:06, George Neuner a écrit :
Won't the connection attempt eventually time out and cause an exception
when the TCP stack closes the socket? I know the default connect
timeout is rather long though (150 seconds?).
Yes it will close for sure but after a long time (maybe 150 sec
Hello,
I'm looking for a way to internationalize a software developped in
Racket, and after took a look on the doc, i read this :
http://docs.racket-lang.org/string-constants/index.html?q=
But it seems to be specific to Drracket, so I thinked about a new way :
Each files has a (require
Le 10/06/2015 12:08, Laurent a écrit :
Maybe you can derive a class my-list-box% from list-box% and catch the
`on-subwindow-char` event:
http://docs.racket-lang.org/gui/window___.html#%28meth._%28%28%28lib._mred%2Fmain..rkt%29._window~3c~25~3e%29._on-subwindow-char%29%29
and then manually
Le 03/07/2015 22:18, Stephen Chang a écrit :
I think the call to values is misplaced.
Yes it does not work, it was just to show the idea of what I wanted.
Here's a functioning version of foo, and a perhaps more concise alternative:
(define (foo . L)
(let ([bar (string-join (build-list
Hello,
To directly go to the essential : here is an example :
(define (foo . L)
(let ([bar (string-join (build-list (length L) (λ (x) ~a)) )])
(format bar (apply values L
Globally, I want to use a function who has variable parameters within a
function who has variable parameters
Hello,
I know we can assign a keyboard shortcut on a menu%, but I try to do the
same thing with a button%. Is that possible ?
In my case : I have a list-box% and a Delete button, I want that when
I press DEL key on my keyboard, it deletes the selected item in the
list-box%.
Thanks in
Le 03/06/2015 21:16, Laurent a écrit :
That may depend on the OS and the window manager, but you can try to set
the parent of all frames (except the first) to the first frame you create.
Yes, that works. If I have a main frame, the second window I want to
create, must be a dialog% with the
Le 03/06/2015 07:25, Paul Bian a écrit :
Hi all,
one function to remove duplicates from the left,
i.e. 1 2 1 3 2 4 5 - 1 2 3 4 5
and one from the right.
i.e. 1 2 1 3 2 4 5 - 1 3 2 4 5
Hello,
For the first function, I think you can't do it without a local define
or by adding a second
Hello,
When I open multi frame% objects, I automaticaly have multi elements on
my desktop taskbar, but I want to have only one element. How I can proceed ?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups Racket
Users group.
To unsubscribe
Hello,
I try to find a easy way to append a data into a list-box% object.
For example, I have 3 columns called (c1 c2 c3), and I want to add
a row like (val1 val2 val3).
Append method is nice, but only append data on the first column... :p
18 matches
Mail list logo