[Fxruby-users] Re: [Foxgui-users][Q] addInput events eating all cpu
Status: Inactive
Brought to you by:
lyle
From: Laurent J. <la...@mo...> - 2004-09-30 21:29:12
|
jeroen wrote: > What I would suggest is to FORCIBLY paint when data is received. Instead > of just update(), do update() followed by repaint() which will immediately > perform all extant repaint rectangles. > > Try that and see how it goes. The throughput will be lower [because your > immediately painting], but the user will see a less jerky display. > I did what you said and also reduce the size of the buffer read at once from the remote process. By doing so I managed to get a smoother text flow and scrolling in my FXText widget. Thanks! Laurent |