[Gambas-user] QT gui no longer working correctly! I think...

Brian G brian at westwoodsvcs.com
Tue Apr 5 01:06:49 CEST 2022


If there is no way to check for key or mouse io without a wait of some sort.
Is there some way to do that Ben?

--
Thanks
Brian G Monday, 04 April 2022, 01:24PM -07:00 from Benoît Minisini  g4mba5 at gmail.com :

>Le 04/04/2022 à 22:01, Brian G a écrit :
>
> Ok here is the outcome of the testing.
>
> gtk, processes io on each wait call.
>
> QT does not process io on each wait call unless one adds a wait time : wait 0.01 or : wait next.
> The wait documentation "now: seems to indicate wait does not process any IO(kb or mouse any more)
>
> For my realtime apps I can Not do this.......
>
> Up until this week or so, qt has also processed io .....
>
> So most of my apps are real time, they do stuff and occasionally call wait to check for io.
>
> So all my apps seem to be f..ed for qt....
>
> When did this happen and why it is crazy ?
>
> Is there some way in my code to check if io (mouse or keyboard) is waiting process??/?
>
> It is a little disturbing I think.
>
> "Failure is the key to success;
> each mistake teaches us something"  .. Morihei Ueshiba
> Brian G
>
>No idea what you are talking about...
>
>WAIT without argument calls the event loop, except that in that specific 
>syntax GUI components must disable the process of -input- events.
>
>Otherwise you must WAIT NEXT Or WAIT with a specific timeout.
>
>If the GTK+ component does process input event using the WAIT syntax, 
>it's a bug.
>
>-- 
>Benoît Minisini
>
>----[  http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220405/a3501c4a/attachment-0001.htm>


More information about the User mailing list