I asked this as a follow up question in my previous post but I figured I should start a new topic to get more eyes on it. I have a personal app where 100% of the user (me) input will be with a linux friendly remote I found on Amazon. Very similar to amazon's firestick remote. The remote control will be handled with keypress events. The code below I am trying to get some panels to slide in and out of view. It works great if I have it in a button. If I put that code in a keypress event I get "gb.gtk3: warning: calling the event loop during a keyboard event handler is ignored". The panels do move but I lose the sliding effect. I understand it is probably the Wait 0.1 that I have in there but if I remove the wait, then I lose my "animated" panel slide. Any suggestions on how to handle this? The remote control is essential for this project, if i can't use it then there is no point continuing because using a mouse would be silly for this.
Maybe there is something more I need to do with a keypress event?
dypan1.Y = dypan1.Y - 1
Wait 0.1
dypan1.Y = dypan1.Y - 2
Wait 0.1
dypan1.Y = dypan1.Y - 3
Wait 0.1
dypan1.Y = dypan1.Y - 4
Wait 0.1
dypan1.Y = dypan1.Y - 5
Wait 0.1
dypan1.Y = dypan1.Y - 6
Wait 0.1
dypan1.Y = dypan1.Y - 7
Wait 0.1
dypan1.Y = dypan1.Y - 8
Wait 0.1
dypan1.Y = dypan1.Y - 9
Wait 0.1
dypan1.Y = dypan1.Y - 10
Wait 0.1
dypan1.Y = dypan1.Y - 11
Wait 0.1
dypan1.Y = dypan1.Y - 12
Wait 0.1
dypan1.Y = dypan1.Y - 13
Wait 0.1
dypan1.Y = dypan1.Y - 14
Wait 0.1
dypan1.Y = dypan1.Y - 15
Wait 0.1