easy calling of methods in the gtk thread