Search found 732 matches

by Allanon
Mon Feb 12, 2024 7:07 pm
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2428

Re: Updating listviews...

Thank you for your reply, don't get me wrong, it's not a complain about how it has been implemented but instead just a feeling, but now that I got how it works I'll live with it. :) Thanks again for your efforts in Hollywood-land ;) ...to be honest I don't really like this way of structuring the cod...
by Allanon
Thu Feb 08, 2024 12:32 pm
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2428

Re: Updating listviews...

Yup, that's fine, I've replied to myself because I saw that the code wasn't affecting the stack ;) I've fixed my script to work as I wanted, thank you for the help :) ...to be honest I don't really like this way of structuring the code to give some feedback to the user during a loop :P Flinx is doin...
by Allanon
Fri Feb 02, 2024 6:56 pm
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2428

Re: Updating listviews...

@Flinx Looking better at your code I realized that the recursive code returns immediately, it places only one callback in the stack that, when it is executed executed, it places another callback and so on... while mine places all the callbacks in the stack at once... it's still not clear to me why m...
by Allanon
Fri Feb 02, 2024 6:41 pm
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2428

Re: Updating listviews...

Thank you @Flinx to try to resolve this puzzle and taking time to experiment, your example is working but I have a couple of observations about my previous example's loop :) The For/Next that executes the RunCallback() is not blocking, it just put the callback functions into the event's queue, infac...
by Allanon
Fri Feb 02, 2024 11:43 am
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2428

Re: Updating listviews...

I'm a bit lost here... below there is the sample test changed to use RunCallback() but it seems that the listview is updated only at the end of the loop... callbacks are set all at once but when the queued callbacks are processed they do not update the listview... OMG this is tricky :D @REQUIRE &quo...
by Allanon
Thu Feb 01, 2024 10:58 am
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2428

Re: Updating listviews...

I think that is normal. From the Help About RapaGUI / Compatibility Notes : – WaitEvent() will never return. On most platforms, a call to WaitEvent() will be a one-way ticket that starts your application's main event loop and never returns. Wow, goods to know, thank you for the info. This complicat...
by Allanon
Wed Jan 31, 2024 6:39 pm
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2428

Re: Updating listviews...

I'm afraid that this is a "feature". GUI applications are expected not to block the main (UI) thread so your application must always make sure to return control to the main loop to give your app a chance to handle refresh and get user input. Instead of timers you could use functions like ...
by Allanon
Wed Jan 31, 2024 5:47 pm
Forum: Hollywood bugs
Topic: Possible problem with RapaGUI on Linux Manjaro
Replies: 2
Views: 737

Re: Possible problem with RapaGUI on Linux Manjaro

airsoftsoftwair wrote: Sun Jan 28, 2024 12:43 pm Replied in thread. It's a feature, not a bug :)
Thank you :) I've also replied there :)
by Allanon
Wed Jan 31, 2024 5:34 pm
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2428

Re: Updating listviews...

I'm afraid that this is a "feature". GUI applications are expected not to block the main (UI) thread so your application must always make sure to return control to the main loop to give your app a chance to handle refresh and get user input. Instead of timers you could use functions like ...
by Allanon
Fri Jan 26, 2024 12:34 pm
Forum: Showcase
Topic: I started a series of tutorials
Replies: 5
Views: 3889

Re: I started a series of tutorials

@Bugala sure, added to the todo list, I will do a tutorial with some examples :)