- Posts: 541
- Thank you received: 0
Flex GUI - MDI Button
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?
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.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22008
- Thank you received: 3
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.
This is from Mint, but should be similar on XFCE.
Attachment not found
Please Log in to join the conversation.
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.
Time to create page: 0.081 seconds
