Flex GUI - MDI Button

More
1 year 3 days ago #337278 by MaHa
Flex GUI - MDI Button was created by MaHa
When the mdi-button is doubleclicked accidentally or just clicked multiple times in a short period, 
the mdi command is executed , mostly uwanted, multiple times. Is it possible to lock the button for
0.5 second or an adjustable value? 

Please Log in to join the conversation.

More
1 year 3 days ago #337279 by tommylight
Replied by tommylight on topic Flex GUI - MDI Button
Should be easier to set the "double click" speed for the mouse in the mouse settings, from Linux settings.
This is from Mint, but should be similar on XFCE.

Attachment not found

Please Log in to join the conversation.

More
1 year 3 days ago #337334 by MaHa
Replied by MaHa on topic Flex GUI - MDI Button
Thanks for reply. I was testing with a value of 200 instead 400 default.  Then i recognized the mdi commands are qeued, so there is no escape from executing every button press. Now i try something with a normal pushbutton and use the pythonmodul. creating a timestamp on each button press and get the difference, only execute the command if result is >=7. I am still testing

Please Log in to join the conversation.

More
1 year 2 days ago #337343 by JT
Replied by JT on topic Flex GUI - MDI Button
I just updated the code so if a MDI command is running the MDI button will not execute again.

JT

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum