Skip to content

Window attribute change events #72

Description

@lijy91

There are no events when a window's attributes change, whether by the app or by the system: title, resizable / minimizable / maximizable / closable, always-on-top, and so on. A generic custom title bar can't update its buttons when some other part of the app calls setClosable(false).

Proposal: a WindowAttributesChangedEvent (or a few specific ones), emitted by the setters and, where the platform reports it, by external changes (for example WM_SETTEXT, KVO on NSWindow.title).

Background:

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions