zui docs v0.0.5
GitHub ↗
Drawing and interaction Container Native Qt

Hover Area

Hover Area is a native Zui container in the drawing and interaction catalog, with 7 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
hover_area cursor: :pointing_hand, width: 320, height: 120 do
  card { label "Hover for details" }
end
API

Component properties

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

enabledEnabled configuration for Hover Area.property
cursorCursor configuration for Hover Area.property
blockingBlocking configuration for Hover Area.property
marginMargin configuration for Hover Area.property
widthWidth configuration for Hover Area.property
heightHeight configuration for Hover Area.property
visibleVisible configuration for Hover Area.property
Show 13 shared item properties
opacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

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

enterNative event payload
moveNative event payload
exitNative event payload
hoverNative event payload