Multi Gnome Terminal allows transparent background with any (gnome-compliant?) window manager (I use it with sawfish). So, even though I have no further information, I think that at least under GNOME there's a standard API to query for backgorund information.