A few minutes ago I quickly made this sample (quicklink to the code) for AsyncWorker. Getting the sample to work forced me to fix some issues in the library. It shows you a GtkTreeView with tree buttons: Add, Remove and Cancel. Pressing Add will create a new AsyncWorkerItem that has some simulation-delays (usleep). Remove will remove the item. Cancel will wait for a cancellation point in the item (and will then abort the item). |
![]() |