:orphan: .. _tooltip: ====================================== tooltip ====================================== How to write by SpWML ======================== .. code-block:: none (tooltip)Tool tip text +(btn, sid:btn1)Button ---- Summary =============== This is a block that can give tooltip to child blocks. It has a variable with parameters equivalent to Flutter `Tooltip class `__ . ---- Dart Class Reference ====================== `TooltipElement class `__ ---- SpWML Parameters ==================== * :ref:`The common` parameters. Note that any margins or padding applied to this block will not affect the position of child elements - they will reposition the tooltip text instead of the child elements. * :ref:`Parent` parameters. * offsetY (double). Use this when you want to shift the display position of the Y coordinate of the label. Negative values are also allowed. * triggerMode (String). Specify the triggering condition: longPress, manual, or tap. If you set it to manual, you must programmatically set a key to identify it using setKey, then call ensureVisible to make the tooltip visible.