- 09 Mar, 2023 1 commit
-
-
Victor Ananjevsky authored
delete blinking icon from manual
-
- 16 Feb, 2023 2 commits
-
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
- 02 Feb, 2023 1 commit
-
-
step authored
-
- 20 Jan, 2023 2 commits
-
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
- 12 Jan, 2023 3 commits
-
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
- 08 Jan, 2023 1 commit
-
-
Victor Ananjevsky authored
fix UI not updated when sync command runs
-
- 07 Jan, 2023 3 commits
-
-
step authored
Before this commit, reproduce this issue with the following command: ```sh yad --form --field=chk:CHK TRUE --changed-action='echo 2:' --field=changes ``` *don't* use your mouse; instead press the Space key *once* to toggle the checkbox. The "changes" field isn't updated but it should be. This is the issue. Now pressing Space again (or dragging/clicking the mouse) pumps the main loop, which frees the thread to run, which updates the "changes" field. This is a manual work-around for this issue. To fix this issue I replaced `gtk_main_iteration` with `gtk_main_iteration_do (FALSE)`. This way the main loop doesn't block when no events are pending, and the thread is always free to run. Then slow down the busy-waiting loop not to hog the CPU. 10000 us keeps yad below 1% CPU on my rig, and the form UI remains very responsive. I'm using this command to test how responsive it is: ```sh yad --no-buttons --form --changed-action='echo 1:' --field=changes '' --field=2:CHK TRUE --field=3:CHK TRUE --field=4:CHK TRUE --field=5:CHK TRUE --field=6:CHK TRUE --field=7:CHK TRUE & ``` Just keep pressing Tab Space Tab Space ... quickly to update each field. Test with and without `--changed-action`.
-
Victor Ananjevsky authored
fix form switch changed callback
-
Victor Ananjevsky authored
Add yad-form-switch@GtkSwitch to manual page
-
- 04 Jan, 2023 3 commits
-
-
step authored
Here this example showed garbage when the switch widget was changed ```sh yad --form --field=switch:SW TRUE --field=check:CHK TRUE --changed-action='echo 3:' --field=changes ``` To fix this issue I changed the callback according to the gobject signature https://docs.gtk.org/gobject/signal.Object.notify.html.
-
step authored
-
step authored
-
- 28 Dec, 2022 1 commit
-
-
Victor Ananjevsky authored
-
- 27 Dec, 2022 3 commits
-
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
- 25 Dec, 2022 1 commit
-
-
Victor Ananjevsky authored
add missing form field types
-
- 22 Dec, 2022 1 commit
-
-
step authored
-
- 16 Dec, 2022 4 commits
-
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
- 15 Dec, 2022 5 commits
-
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
- 14 Dec, 2022 1 commit
-
-
Victor Ananjevsky authored
-
- 13 Dec, 2022 1 commit
-
-
Victor Ananjevsky authored
-
- 06 Dec, 2022 3 commits
-
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
- 22 Nov, 2022 2 commits
-
-
Victor Ananjevsky authored
-
Victor Ananjevsky authored
-
- 21 Nov, 2022 1 commit
-
-
Victor Ananjevsky authored
-
- 14 Nov, 2022 1 commit
-
-
Victor Ananjevsky authored
-