Skip to content

add close() and minimize() to Window #514

Closed

Description

@phillco

This was quick request that came up during some of the #axkit discussion, as our current method involves invoking the actual buttons via accessibility, which can be block if the application is slow to respond and make mass window changes sluggish.

aegis mentioned in Slack that he could do it faster inside Talon, and they also just seem like nice utility functions to have.

Activity

  1. lunixbochs commented on Jan 19, 2023

    @lunixbochs

    We already have window.close()

    In the rust beta, I just added get/set properties for:

    win.minimized
    win.maximized
    win.fullscreen
    

    e.g.

    print(win.minimized)
    win.minimized = False
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions