The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
start
and end
properties to Markdown NavigatorWidget.anchor
, Widget.clear_anchor
, and Widget.is_anchored
https://github.com/Textualize/textual/pull/4530
Fixes a with auto columns in gutter.
The highlight of this release is the ability to implement "dynamic actions", so you can provide logic about which bindings should be displayed. See the docs for details: https://textual.textualize.io/guide/actions/#dynamic-actions
App.get_default_screen
https://github.com/Textualize/textual/pull/4520
DOMNode.check_action
https://github.com/Textualize/textual/pull/4516
"focused"
action namespace so you can bind a key to an action on the focused widget https://github.com/Textualize/textual/pull/4516
App.namespace_bindings
to active_bindings
A small-ish release. A new method and a fix.
DOMNode.query_children
https://github.com/Textualize/textual/pull/4508
SelectionList
issues after removing an option https://github.com/Textualize/textual/pull/4464
ListView
bugs with the initial index https://github.com/Textualize/textual/pull/4452
Select
not closing https://github.com/Textualize/textual/pull/4499
loading=False
removing all child loading indicators https://github.com/Textualize/textual/pull/4499
App.exit()
, the console no longer highlights things such as numbers.message_signal
to MessagePump, to listen to events sent to another widget. https://github.com/Textualize/textual/pull/4487
Widget.suppress_click
https://github.com/Textualize/textual/pull/4499
Believe it or not...this is the transcript of an actual radio conversation between a US naval ship and Canadian authorities off the coast of Newfoundland in October 1995. The Radio conversation was released by the Chief of Naval Operations on Oct. 10, 1995.
US Ship: Please divert your course 0.5 degrees to the south to avoid a collision.
CND reply: Recommend you divert your course 15 degrees to the South to avoid a collision.
US Ship: This is the Captain of a US Navy Ship. I say again, divert your course.
CND reply: No. I say again, you divert YOUR course!
US Ship: THIS IS THE AIRCRAFT CARRIER USS CORAL SEA*, WE ARE A LARGE WARSHIP OF THE US NAVY. DIVERT YOUR COURSE NOW!!
CND reply: This is a lighthouse. Your call.
TextArea
to end mouse selection only if currently selecting https://github.com/Textualize/textual/pull/4436
Document.end
property https://github.com/Textualize/textual/issues/4426
Offset.clamp
and Size.clamp_offset
https://github.com/Textualize/textual/pull/4435
Adds support for copying to the clipboard
https://textual.textualize.io/api/app/#textual.app.App.copy_to_clipboard
Integer
validator missing failure description when not a number https://github.com/Textualize/textual/issues/4413
DataTable
if you clicked a link in the border https://github.com/Textualize/textual/issues/4410
App.copy_to_clipboard
https://github.com/Textualize/textual/pull/4416