8000 Keyboard shortcuts · Issue #102 · can-lehmann/owlkettle · GitHub
[go: up one dir, main page]

Skip to content

Keyboard shortcuts #102

Open
Open

Description

@can-lehmann

Currently there is limited support for keyboard shortcuts (mainly Button.shortcut). The main missing feature is keyboard shortcuts for ModelButtons inside PopoverMenu's.

Activity

  1. added
    enhancement
    on Oct 8, 2023
  2. PhilippMDoerner commented on Oct 8, 2023

    @PhilippMDoerner
    Contributor

    General question to see if I'm understanding how shortcut works correctly:
    Basically it's every time:

    • Create a controller
    • Define a scope for it (this widget, parent widget, global root widget (window?))
    • Create a shortcut struct out of hotkey button represented as string and its action (one of which can be a signal, defined as signal(<signalName>))
    • Register shortcut struct with controller object

    Right?
    That's just for my understanding of the entire thing.

    Looking further though, would it be possible to generally enable global Shortcuts for all kinds of Widgets? Or rather, is there anything that speaks against that?

  3. added this to the Owlkettle 4.0.0 milestone on Oct 22, 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

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0