Reference

WindowDragArea

WindowDragArea

WindowDragArea control. Build it with the window_drag_area helper.

Example

window_drag_area(
  content: text("WindowDragArea"),
  expand: true,
  width: 240,
  height: 120,
  on_animation_end: ->(event) {}
)

Properties

  • content — The single child control rendered inside this control.
  • maximizable

Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).

Events

  • on_animation_end — Fired when an animation completes.
  • on_double_tap — Fired on a double tap.
  • on_drag_end — Fired on drag end.
  • on_drag_start — Fired when a drag begins.
  • on_size_change — Fired when the control's size changes.

Reference

  • Family: shared
  • Widget type: windowdragarea
  • Helper: window_drag_area