You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title depicts. For example, documentation says this: An alternative to a refresh is recompose. If you set recompose=True on a reactive, then Textual will remove all the child widgets and call compose() again, when the reactive attribute changes.
But I couldn't find this attribute, and when I typed it, the IDE reported accidental arguments.
Then I went into the source code and found that it was renamed to repaint.
Here is another example and I currently can't solve it:
Documentation says this in this link:
ctrl_to_caret = reactive(True)
Convert 'ctrl+' prefix to '^'.
将“ctrl+”前缀转换为“^”。
But I couldn't find similar arguments in the source code. What is it? Or it is removed?
As the title depicts. For example, documentation says this:
An alternative to a refresh is recompose. If you set recompose=True on a reactive, then Textual will remove all the child widgets and call compose() again, when the reactive attribute changes.
But I couldn't find this attribute, and when I typed it, the IDE reported accidental arguments.
Then I went into the source code and found that it was renamed to
repaint
.Here is another example and I currently can't solve it:
Documentation says this in this link:
Convert 'ctrl+' prefix to '^'.
将“ctrl+”前缀转换为“^”。
But I couldn't find similar arguments in the source code. What is it? Or it is removed?
Have you checked closed issues? https://github.com/Textualize/textual/issues?q=is%3Aissue+is%3Aclosed
Yes
It will be helpful if you run the following command and paste the results:
Textual Diagnostics
Versions
Python
Operating System
Terminal
Rich Console options
The text was updated successfully, but these errors were encountered: