Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout before removing scanned symbols #72

Open
petaflot opened this issue Jul 8, 2022 · 2 comments
Open

timeout before removing scanned symbols #72

petaflot opened this issue Jul 8, 2022 · 2 comments

Comments

@petaflot
Copy link

petaflot commented Jul 8, 2022

I would like a user-defined timeout before scanned QR-codes is removed from the "symbols" list : when writing sth like [{"text": value.data.decode("utf8"), "popup": root} for value in zbarcam.symbols] in a .kv file, each symbol is displayed (just after recognition) in a button, but for a fraction of a second. users should be allowed to define a timeout before the item is removed from the list.

@petaflot petaflot changed the title timeout before removigg scanned symbols timeout before removing scanned symbols Jul 8, 2022
@tshirtman
Copy link

that can be done on the app side, adding new elements to a list immediately, but delaying their removal with a clock event (that can be cancelled if they are found again)

@petaflot
Copy link
Author

I thought the whole point of having libs was not having to code the same snippets over and over again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants