The click action in my app seams to be slow. Especially in the case of a certain part of it where I have a custom file browser I'm trying to make, in which you click to scroll down or up.
The function launched by the click action in this case just moves actors up or down, so far just 11 of them. If I click to fast, nothing happens, about 1/2 to 1/3rd of a second is too fast. I do wonder if the lag could be related to how clutter_click_action works. Is the performance of a button event different than a click action? Is there a way in which, even even when clicking fast, the functions will all still get executed even if there is a delay? Also i am wondering if opacity reduces performance considerably? Also, is it much faster to hide/show an actor than it is to move it? Lastly, is it okay to hide/show an actor which is already hidden/shown? For example, in a loop where whether an actor is shown or hidden depends on a condition, should you check wether actors are already hidden/shown before hiding/showing them? Thanks for reading this, if you have any tips I would be thankful. Ty
_______________________________________________ clutter-app-devel-list mailing list clutter-app-devel-list@clutter-project.org http://lists.clutter-project.org/listinfo/clutter-app-devel-list