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
In following code, when I click button'1' ,its parent widget which is horizontal container runs toggle("disabled") but not button'1'.
But, when I click button'2', button'2' runs toggle("disabled"). Do I miss something? https://textual.textualize.io/guide/actions/#namespaces says Textual will look for action methods in the class where they are defined (App, Screen, or Widget), This makes me confused. Thanks someone who can help me in advance.
In following code, when I click button'1' ,its parent widget which is horizontal container runs
toggle("disabled")
but not button'1'.But, when I click button'2', button'2' runs
toggle("disabled")
. Do I miss something? https://textual.textualize.io/guide/actions/#namespaces saysTextual will look for action methods in the class where they are defined (App, Screen, or Widget)
, This makes me confused. Thanks someone who can help me in advance.The text was updated successfully, but these errors were encountered: