zui docs v0.0.5
GitHub ↗
Display, content, and media Native Qt

Tooltip

Tooltip is a native Zui component in the display, content, and media catalog, with 9 component-specific properties.

Usage

Ruby example

Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.

Ruby
tooltip "Open the component catalog", delay: 350, timeout: 4_000
API

Component properties

9 component-specific values, plus shared item and layout properties.

textText configuration for Tooltip.property
delayDelay configuration for Tooltip.property
timeoutTimeout configuration for Tooltip.property
foregroundForeground configuration for Tooltip.property
backgroundBackground configuration for Tooltip.property
borderBorder configuration for Tooltip.property
font_familyFont family configuration for Tooltip.property
font_sizeFont size configuration for Tooltip.property
visibleVisible configuration for Tooltip.property
Show 16 shared item properties
enabledopacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

Subscribe with on widget, :event and keep behavior in Ruby.

This renderer is display-only and does not emit component-specific events.