ViewSize

ViewSize(view=None)

Returns the width and height in pixels of the specified view :param view: [opt] title or id of the view. If omitted, current active view is used

returns:tuple of two numbers idenfitying width and height