I wonder if the GTK_PRIORITY_RESIZE, GDK_PRIORITY_REDRAW and GDK_PRIORITY_EVENTS constants could be offered within perl, perhaps per below. They can be good for putting idle or i/o stuff in at levels just above or below what gtk will be doing (the redraw is the only one I've got an immediate interest in :).
Attachment:
priorities.diff
Description: Text Data