Skip to content

multi-selecting with Interaction.link() #116

Closed as not planned
Closed as not planned
@kushalkolar

Description

@kushalkolar

just some brainstorming

link() takes a kwarg, multi = False | True, if it is True then use allow the use of Crtl as a modifier. In _set_feature we don't call _reset_feature if the modifier is present, and we use a list of PreviouslyModifiedData to store the orig data of the selected stuff.

Seems like Event has a modifiers attribute so this should be straight forward: https://github.com/pygfx/pygfx/blob/6e39c3470ec3956753f189f56451e5336be77b79/examples/feature_demo/multi_select.py#L63

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy