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
I am going through the brand new documentation and I have completed stopwatch.py. I am running the app with textual run --dev stopwatch.py and in another terminal window I have run textual console to view the events.
My question is about the events that I see are being fired when I click a start button on one to the stop watches.
My question is, immediately after the Pressed(Button... event I see two events, Hide() and Blur() both on the Start button. Why does a blur need to be performed on an object that has been hidden?
As a result of clicking Start the Reset button is also hidden but for this object, there is only a Hide() event, not a Blur(). Is this because the Stop button has to become visible in the same spot at the Start button?
I also don't see any event making the Stop button visible
Clicking Stop, I see the same Hide() and Blur() events. this time for the Stop button, but then I see a Focus() event on the Start button and I don't see an event for the Reset button becoming visible (but in the app it does become visible)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am going through the brand new documentation and I have completed stopwatch.py. I am running the app with
textual run --dev stopwatch.py
and in another terminal window I have runtextual console
to view the events.My question is about the events that I see are being fired when I click a start button on one to the stop watches.
I see:
My question is, immediately after the Pressed(Button... event I see two events, Hide() and Blur() both on the Start button. Why does a blur need to be performed on an object that has been hidden?
As a result of clicking Start the Reset button is also hidden but for this object, there is only a Hide() event, not a Blur(). Is this because the Stop button has to become visible in the same spot at the Start button?
I also don't see any event making the Stop button visible
Clicking Stop, I see the same Hide() and Blur() events. this time for the Stop button, but then I see a Focus() event on the Start button and I don't see an event for the Reset button becoming visible (but in the app it does become visible)
Do I need to enable a Debug mode to see events that get fired by other events?
Beta Was this translation helpful? Give feedback.
All reactions