Open Acumane opened 2 weeks ago
hello, thx for the feedback, any feedback is a good feedback.
I know, some problems are still in the code. Is WIP, so many changes will be from now on.
Currently i am working on a improved version for threading and how the tasks are done in Progress bar.
In my case the main implementation is for Nemo actions but i have also plans for future Gnome extensions.
Good work, this is the only* good GTK4 zenity wrapper for python.
A few things:
for
progress_bar
,callback
should be ignored ifpulse_mode
isTrue
. Otherwise, makecallback
optional.And I'm nit-picking, but, naming conventions. Arguments needn't be named differently than their CLI counterparts (e.g.
pulse_mode
vs.pulsate
) and methods called by the user can be more concise—like.run()
instead of.run_progressbar()