use new draw and resize events
update for refactored and improved gtk backend 0.3.0