tab:get_size()
Since: nightly builds only
Returns the overall size of the tab, taking into account all of the contained panes.
The return value is a lua table with the following fields:
rows
- the number of rows (height)cols
- the number of columns (width)pixel_width
- the total width, measured in pixelspixel_height
- the total height, measured in pixelsdpi
- the resolution of the tab.
Note that pixel_width
, pixel_height
and dpi
may be inaccurate when there
is no GUI client associated with the tab.