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