Note that unlike heightDetails.gtable, this can return relative units.
gtable_height(x)
x
A gtable object