Skip to content

InputOverrideExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for creating .

csharp
public static class InputOverrideExtensions

Inheritance

ObjectInputOverrideExtensions

Methods

InputOverride<TParent>(WidgetContext<TParent>, Hex1bWidget)

Wraps a child widget in an that allows centralized keybinding overrides for all descendant widgets of specified types.

Parameters:

  • ctx (WidgetContext<<TParent>>): The widget context.
  • content (Hex1bWidget): The child widget tree to wrap.

Returns: InputOverrideWidget

An that can be further configured with .

csharp
public static InputOverrideWidget InputOverride<TParent>(this WidgetContext<TParent> ctx, Hex1bWidget content) where TParent : Hex1bWidget

Released under the MIT License.