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

Screen Capture

Screen 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
screen_capture active: true, screen: 0, command: :start, command_revision: 1
API

Component properties

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

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