Where a panel lands when docked into a UIDockGroup: as another tab (CENTER) or by splitting the target and placing the panel on that side.

An enum abstract over Int (just an Int at runtime). Usable unqualified where a UIDockZone is expected; from/to Int keep it interchangeable with plain ints.

  • CENTER — add as a new tab in the target group
  • LEFT / RIGHT — split horizontally, panel on that side
  • TOP / BOTTOM — split vertically, panel on that side

Variables

@:value(cast 4)@:impl@:enuminlineread onlyBOTTOM:UIDockZone = 4

@:value(cast 0)@:impl@:enuminlineread onlyCENTER:UIDockZone = 0

@:value(cast 1)@:impl@:enuminlineread onlyLEFT:UIDockZone = 1

@:value(cast 2)@:impl@:enuminlineread onlyRIGHT:UIDockZone = 2

@:value(cast 3)@:impl@:enuminlineread onlyTOP:UIDockZone = 3