Window Framework for UI Toolkit v2.0.x
GWG.WindowFramework.Manipulators Namespace Reference

Window and content interaction manipulators. Provides dragging, directional resizing, configurable click activation, tooltip and context-menu activation. Each manipulator has specific target, permission and lifecycle requirements; they are not interchangeable on arbitrary visual elements. See wfw_resize_geometry, wfw_tooltips and wfw_context_menus. More...

Data Structures

class  ClickActivatorConfigurable
 A configurable mouse manipulator that provides flexible click event handling with customizable activation criteria. More...
class  ContextMenuActivator
 A mouse manipulator that enables context menu functionality for any VisualElement in Unity's UI Toolkit. More...
class  TooltipManipulator
 A sophisticated pointer manipulator that manages tooltip behavior for UI elements within the Window Framework. More...
class  WindowFrameDragger
 A mouse manipulator that enables drag-and-move functionality for WindowFrame elements in Unity's UI Toolkit. More...
class  WindowFrameResizer
 A mouse manipulator that provides 8-directional edge and corner resizing functionality for WindowFrame elements in Unity's UI Toolkit. More...

Enumerations

enum  ResizeDirection {
  None = 0 , Left = 1 << 0 , Right = 1 << 1 , Top = 1 << 2 ,
  Bottom = 1 << 3 , TopLeft = Top | Left , TopRight = Top | Right , BottomLeft = Bottom | Left ,
  BottomRight = Bottom | Right
}
 Specifies the directional edge or corner being resized by a WindowFrameResizer. More...

Detailed Description

Window and content interaction manipulators. Provides dragging, directional resizing, configurable click activation, tooltip and context-menu activation. Each manipulator has specific target, permission and lifecycle requirements; they are not interchangeable on arbitrary visual elements. See wfw_resize_geometry, wfw_tooltips and wfw_context_menus.

Enumeration Type Documentation

◆ ResizeDirection

Specifies the directional edge or corner being resized by a WindowFrameResizer.

Enumerator
None 0 

No resize operation.

Left 1 << 0 

Resizes the left edge horizontally.

Right 1 << 1 

Resizes the right edge horizontally.

Top 1 << 2 

Resizes the top edge vertically.

Bottom 1 << 3 

Resizes the bottom edge vertically.

TopLeft Top | Left 

Resizes the top-left corner diagonally.

TopRight Top | Right 

Resizes the top-right corner diagonally.

BottomLeft Bottom | Left 

Resizes the bottom-left corner diagonally.

BottomRight Bottom | Right 

Resizes the bottom-right corner diagonally.