OK,how to simulate it on GTK as it doesn't support thread action