zui docs v0.0.5
GitHub ↗
Multimedia and capture Native Qt

Window Capture

Window Capture is a native Zui component in the multimedia and capture catalog, with 5 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
window_capture active: true, window: "app.main", command: :start, command_revision: 1
API

Component properties

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

activeActive configuration for Window Capture.property
windowWindow configuration for Window Capture.property
commandCommand configuration for Window Capture.property
command_revisionCommand revision configuration for Window Capture.property
visibleVisible configuration for Window Capture.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.

startNative event payload
stopNative event payload
errorNative event payload