Display Screens
PBScreenID
Enumeration/bitset of type uint64_t:
Constants
PBScreenID_PRIMARY
PBScreenID_PRIMARY = 0
PBScreenChangeScaleFactor
Function:
Syntax (C/C++)
void PBScreenChangeScaleFactor(PBScreenID screenID, uint32_t newScaleFactor);
Syntax (Python)
ScreenChangeScaleFactor(screenID, newScaleFactor)
Parameters and Return Values
[in] screenID (PBScreenID):
[in] newScaleFactor (uint32_t
):
PBScreenGetWorkArea
Function:
Syntax (C/C++)
PBRectangle PBScreenGetWorkArea(PBScreenID screenID);
Syntax (Python)
ScreenGetWorkArea(screenID) -> (workArea)
Parameters and Return Values
[in] screenID (PBScreenID):
[out] workArea (PBRectangle):
PBScreenGetBounds
Function:
Syntax (C/C++)
PBRectangle PBScreenGetBounds(PBScreenID screenID);
Syntax (Python)
ScreenGetBounds(screenID) -> (bounds)
Parameters and Return Values
[in] screenID (PBScreenID):
[out] bounds (PBRectangle):
PBScreenFromElement
Function:
Syntax (C/C++)
PBScreenID PBScreenFromElement(PBElementRef element);
Syntax (Python)
ScreenFromElement(element) -> (containingScreenID)
Parameters and Return Values
[in] element (referenced PBElement):
[out] containingScreenID (PBScreenID):