API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdButton Class > OdButton Methods > OdButton::setTooltip Method
OdButton::setTooltip Method
Syntax
C++
void setTooltip(const OdString& tooltip);
Parameters 
Description 
const OdString& tooltip 
[in] New text for the tooltip. 

Sets the button tooltip text. Tooltip text is text that appears when a user hovers the pointer over the button. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.