Displaying 15 results from an estimated 15 matches for "onidle".
2007 Jan 23
0
Refreshing the GUI and packing images
...")
? ? ? ? tkwm.title(tttry,"wait")
? ? ? ? warn<-tklabel(tttry,image=imagepleasewait)
? ? ? ? tkpack(warn) ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? tkfocus(tttry)
? ? ? ? tcl("update")
? ? ? ? ? ? ? ?
? ? ? ? print("Starting...")
? ? ? ? validate <- 1
? ?
? ? ? ? onIdle <- function(){
? ? ? ? ? if (validate)==1){
? ? ? ? ? ? Sys.sleep(0.1)
? ? ? ? ? ? tkconfigure(warn,image=imagepleasewait)
? ? ? ? ? ? tcl("after","idle", onIdle())
? ? ? ? ? }
? ? ? ? ? else
? ? ? ? ? ? tkdestroy(tttry)
? ? ? ? }
? ? ? ? onIdle()
? ? ? ? mcmcFmodel(...) ?...
2007 Jul 20
0
[1124] trunk/wxruby2/samples/bigdemo/wxGauge.rbw: Use Wx::Timer instead of evt_idle to drive Gauge sample, to avoid 100%
...r(event)
- @count = @count + 1
- if @count > 50
- @count = 0
- end
- @g1.set_value(@count)
- @g2.set_value(@count)
- @g3.set_value(@count)
-
- # Tells wxWindows that more processing is required. This function can be called by an OnIdle handler
- # for a window or window event handler to indicate that wxApp::OnIdle should forward the OnIdle event
- # once more to the application windows. If no window calls this function during OnIdle, then the
- # application will remain in a passive event loop (not calling...
2016 Nov 14
0
getGraphicsEvent() alternative for cairo graphics device?
...Dr Paul Murrell
> Department of Statistics
> The University of Auckland
> Private Bag 92019
> Auckland
> New Zealand
> 64 9 3737599 x85392
> paul at stat.auckland.ac.nz
> http://www.stat.auckland.ac.nz/~paul/
>
-------------- next part --------------
# Examples for "onIdle" function in getGraphicsEvent
# FHE 13 Nov 2016 - public domain
# This should produce a "plot" display with 50 random points connected
# by lines. The points will scroll to the right at a fixed speed,
# which depends on how fast your computer is. Closing the plot window
# should ter...
2016 Jun 09
3
getGraphicsEvent on X11 and event queuing
Hi Frederik,
>>>>> <frederik at ofb.net>
>>>>> on Tue, 7 Jun 2016 15:20:05 -0700 writes:
> ... I just realized that setGraphicsEventHandlers or
> getGraphicsEvent could have an 'onIdle' callback, to be
> called somewhere in the polling loop of gevents.c:163 - I
> think this would solve my problem #2 in a minimally
> disruptive way.
I hope you will get some feedback about this by one of the
graphics/devices experts from within R core.
I'm not among th...
2016 Nov 14
2
getGraphicsEvent() alternative for cairo graphics device?
Great. Thanks!
Paul
On 14/11/16 13:41, frederik at ofb.net wrote:
> Hi Paul,
>
> Thank you, for some reason I didn't seem to get an email notification
> for your bugzilla comment!
>
> I will try to send you something shortly.
>
> Frederick
>
> On Mon, Nov 14, 2016 at 08:55:20AM +1300, Paul Murrell wrote:
>> Hi
>>
>> The current status is that
2004 Aug 01
2
nothing happens unless I move the mouse
Hi,
I tried to think of a good subject, but that was the best I could come
up with. Here is my problem (pretty much same as before).
I have a program I''ve written, and I want to write a wxRuby front end
for it. There are hooks in the program that call methods in the
wxRuby part of things, however, nothing happens in the actual program
unless I''m triggering events in the
2016 Jun 07
2
getGraphicsEvent on X11 and event queuing
Hi R-Devel,
I've been working on an oscilloscope project using an Arduino
microcontroller board. I found that it's quite easy to get realtime
updates, e.g. 30+ frames per second, if I read data from the board in
a little Rcpp library. I have to use dev.hold() and dev.flush() to
keep the plot from flickering, which restricts me to the "cairo" X11
device.
I'd like to be able
2016 Jun 07
0
getGraphicsEvent on X11 and event queuing
... I just realized that setGraphicsEventHandlers or getGraphicsEvent
could have an 'onIdle' callback, to be called somewhere in the polling
loop of gevents.c:163 - I think this would solve my problem #2 in a
minimally disruptive way.
On Mon, Jun 06, 2016 at 06:38:45PM -0700, frederik at ofb.net wrote:
> Hi R-Devel,
>
> I've been working on an oscilloscope project using...
2016 Jun 14
0
getGraphicsEvent on X11 and event queuing
...small as possible!) patches to
> the source you could also post to the bugzilla site if you
> prefer; attaching as text/plain to R-devel does work fine, too.
Well, after your kind solicitation I went through all the touble of
locally fixing getGraphicsEvent Cairo support and implementing an
onIdle handler.
However, I noticed that the first part actually already has a patch on
the R bug tracker, which is exactly the same as the fix I implemented!
(minus documentation)
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=14364
Problem: somebody ignored the patch and closed the bug. Who close...
2020 Aug 09
0
Interactive graphics
Dear R-Devel list members
I'm facing as problem already known and linked to the use of
getGraphicsEvent(prompt = "Waiting for input",
???????????????? onMouseDown = NULL, onMouseMove = NULL,
???????????????? onMouseUp = NULL, onKeybd = NULL,
???????????????? onIdle = NULL,
???????????????? consolePrompt = prompt)
setGraphicsEventHandlers(which = dev.cur(), ...)
getGraphicsEventEnv(which = dev.cur())
setGraphicsEventEnv(which = dev.cur(), env)
The problem rises when trying to get interrupts generated by pressing
mouse buttons and, at the same time, interrup...
2006 Jun 16
15
Mongrel_rails restart and sudo
Sorry for the newbie question but I''m stumped:
I have an app that requires sudo to run mongrel_rails. For my capistrano
recipe is do it like this:
sudo "mongrel_rails start -e production -p #{application_port} -d -c
#{current_path}"
Which works famously.
Now I have tried several things for my restart task. Here they are:
sudo "cd #{current_path} && sudo
2008 Jan 08
28
1.9.3 release, rakefile
Hi
I''d like to put out a 1.9.3 release perhaps later this week/weekend. If
you have a chance to test the build and samples esp with latest
rubygems, please do.
There are still some bugs on the list, and samples to do, but this
should address all the build/install probs that have come up. And it
would be good to get some testing and feedback on some of the new classes.
A note on the
2019 May 02
1
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
I tested it. It fixes the bug and didn't seem to produce any errors. Thank you Professor Dalgaard! I'm so glad this has finally been addressed. I will update the bug report.
(https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16702)
On Thu, May 02, 2019 at 04:48:51PM +0200, peter dalgaard wrote:
>OK, this is now in R-devel, but only superficially tested (b/c this is a Mac). Please
2007 Apr 16
0
[969] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Cleanup and fixing of broken links.
...span><span class="lines">@@ -2788,16 +2785,16 @@
</span><span class="cx"> };
</span><span class="cx">
</span><span class="cx">
</span><del>-If you are calling this function from an OnInternalIdle or OnIdle
</del><ins>+If you are calling this function from an on_internal_idle or on_idle
</ins><span class="cx"> function, make sure you pass the UPDATE_UI_FROMIDLE flag, since
</span><span class="cx"> this tells the window to only update the UI eleme...
2006 Jun 18
5
[slightly OT] Apache 2.2.2 proxy config
Apologies, this may be off-topic.
I''ve been wrestling with upload issues and Apache 2.2.2 /
mod_proxy_balanacer / mongrel_cluster / Mongrel on Mac OS X Server 10.4.5.
Typically the first upload would be fine but the next would make the mongrel
instance remain running (ps state = "R") essentially locking up that
instance. Apache would then eventually do:
[Fri Jun 16 16:45:54