Textual-Window moved under TTY Group. Also Textual-Window 0.4.0 #3
edward-jazzhands
announced in
TTY Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First official update related to a TTY-group core project. Hurrah.
I decided that Textual-Window is the most core library to the TDE project, and as such it should be part of the TTY organization. It will of course remain as its own independent library, but moving it under the org will make it much more obvious that its quite integral to the TDE project and encourage more people to contribute to it in the future.
Second announcement: Textual-Window 0.4.0
Small update but added two new methods into the WindowManager class built into the library:
register_mounting_callback:
This method registers a callback which can be used by the window manager to mount windows that are passed into it with the
mount_windowmethod.mount_window: Mount a window using a callback registered with the
register_mounting_callbackmethod.These new methods allow the manager to handle the mounting of windows and provide some separation from where windows might be created. This was done to accommodate using the window manager as an actual lifecycle manager. Now an app can import the window manager anywhere, register a mounting callback, and then anywhere else that imports the window manager can use the mount_window method.
This was of course done primarily to facilitate usage in the TDE project, but other people may find it useful as well.
🚀🌙
Beta Was this translation helpful? Give feedback.
All reactions