Note that unlike widthDetails.gtable, this can return relative units.

gtable_width(x)

Arguments

x

A gtable object