Class TextSelectionControls | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class TextSelectionControls

    Inheritance
    Object
    TextSelectionControls
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public abstract class TextSelectionControls

    Properties

    handleSize

    Declaration
    public abstract Size handleSize { get; }
    Property Value
    Type Description
    Size

    Methods

    buildHandle(BuildContext, TextSelectionHandleType, Single)

    Declaration
    public abstract Widget buildHandle(BuildContext context, TextSelectionHandleType type, float textLineHeight)
    Parameters
    Type Name Description
    BuildContext context
    TextSelectionHandleType type
    Single textLineHeight
    Returns
    Type Description
    Widget

    buildToolbar(BuildContext, Rect, Offset, TextSelectionDelegate)

    Declaration
    public abstract Widget buildToolbar(BuildContext context, Rect globalEditableRegion, Offset position, TextSelectionDelegate selectionDelegate)
    Parameters
    Type Name Description
    BuildContext context
    Rect globalEditableRegion
    Offset position
    TextSelectionDelegate selectionDelegate
    Returns
    Type Description
    Widget

    canCopy(TextSelectionDelegate)

    Declaration
    public virtual bool canCopy(TextSelectionDelegate selectionDelegate)
    Parameters
    Type Name Description
    TextSelectionDelegate selectionDelegate
    Returns
    Type Description
    Boolean

    canCut(TextSelectionDelegate)

    Declaration
    public virtual bool canCut(TextSelectionDelegate selectionDelegate)
    Parameters
    Type Name Description
    TextSelectionDelegate selectionDelegate
    Returns
    Type Description
    Boolean

    canPaste(TextSelectionDelegate)

    Declaration
    public virtual bool canPaste(TextSelectionDelegate selectionDelegate)
    Parameters
    Type Name Description
    TextSelectionDelegate selectionDelegate
    Returns
    Type Description
    Boolean

    canSelectAll(TextSelectionDelegate)

    Declaration
    public virtual bool canSelectAll(TextSelectionDelegate selectionDelegate)
    Parameters
    Type Name Description
    TextSelectionDelegate selectionDelegate
    Returns
    Type Description
    Boolean

    handleCopy(TextSelectionDelegate)

    Declaration
    public void handleCopy(TextSelectionDelegate selectionDelegate)
    Parameters
    Type Name Description
    TextSelectionDelegate selectionDelegate

    handleCut(TextSelectionDelegate)

    Declaration
    public void handleCut(TextSelectionDelegate selectionDelegate)
    Parameters
    Type Name Description
    TextSelectionDelegate selectionDelegate

    handlePaste(TextSelectionDelegate)

    Declaration
    public void handlePaste(TextSelectionDelegate selectionDelegate)
    Parameters
    Type Name Description
    TextSelectionDelegate selectionDelegate

    handleSelectAll(TextSelectionDelegate)

    Declaration
    public void handleSelectAll(TextSelectionDelegate selectionDelegate)
    Parameters
    Type Name Description
    TextSelectionDelegate selectionDelegate
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023