zui docs v0.0.5
GitHub ↗
Models and utilities Native Qt

Clipboard

Clipboard is a native Zui component in the models and utilities catalog, with 4 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
clipboard "Copied from Zui", watch: true, revision: 1
API

Component properties

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

textText configuration for Clipboard.property
watchWatch configuration for Clipboard.property
revisionRevision configuration for Clipboard.property
visibleVisible configuration for Clipboard.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.

changeNative event payload
copiedNative event payload