Questions tagged [r3-gui]
18 questions
1
vote
1 answer
REBOL 3 - How to add an event handler to print a key that is pressed?
My end goal is to have a handler that will do something if I press a key such as #"1"
I have been reading the R3 View - Event Handling document, and trying to run the code in R3 View, I get no results. This is the handler I have copied:
my-handler:…

kealist
- 1,669
- 12
- 26
1
vote
1 answer
REBOL3 - How to set the initial size of a layout?
I need to set the initial size of a layout to be viewed. How do I do that?
in R2, it was:
view layout/size [button] 1000x1000
There is no longer a size refinement on layout and trying to set a facet does not work
view layout [button] options…

kealist
- 1,669
- 12
- 26
1
vote
1 answer
How do I access the value of a timer once set?
Given the R3-GUI code below, is there a way to access how much time is left in the timer? The timer ID is returned by set-timer but I am not sure if there is anything I can do with it?
set-timer [print "done"] 60
In other words, what I am looking…

kealist
- 1,669
- 12
- 26