GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — multi-selecting with Interaction.link() · Issue #116 · fastplotlib/fastplotlib

multi-selecting with Interaction.link() #116

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
multi-selecting with Interaction.link()#116
Copy link

Description

@kushalkolar
kushalkolar
opened on Jan 13, 2023
Issue body actions

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

Activity

  1. kushalkolar commented on Nov 26, 2023

    @kushalkolar
    kushalkolar
    on Nov 26, 2023
    MemberAuthor
    More actions

    This gets too complicated and messy, we keep link() simple and if users want to do more complex things they can use add_event_handler() and have full control.

  2. kushalkolar
    closed this as not plannedon Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.