Tool Tips
PBMessageGetToolTip
Structure: Contains the information necessary to create a tool tip.
Fields
contents (nullable owned PBTextDocument): The text document to display in the tool tip. Set to null if the element does not need a tool tip. You may need to increment the document's reference count with PBTextDocumentRetain before returning it. The document should use the PBNamedTextStyle_CONTROL_DEFAULT text style.
contentOffsetX (int32_t
): The tool tip is positioned so the top-left corner of its contents matches the top-left corner of the element plus this offset.
contentOffsetY (int32_t
): See contentOffsetX. This field is initialized to the height of the element so that the tool tip is display below it.
width (int32_t
): The width of the tool tip. This field is initialized to a default value. Set to 0 to make the width match the contents.