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'm trying to put together a simple program based on OptionList, however I can't seem to get the parent widget to listen/pick up on messages from child widgets. See below MVE:
In this case, I just need the DefaultOptions widget to "barK' when an option is selected. I've confirmed printing works previously by putting in a print statement in compose() and having it successfully print to the debug console. However, while that worked, and I can see in the debug console that OptionList.OptionSelected event is being sent, on_option_list_selected() is never called as it never prints "bark" to the debug console. Is there something I'm missing or some fundamental problem with this MVE I'm not catching?
Hello,
I'm trying to put together a simple program based on OptionList, however I can't seem to get the parent widget to listen/pick up on messages from child widgets. See below MVE:
In this case, I just need the DefaultOptions widget to "barK' when an option is selected. I've confirmed printing works previously by putting in a print statement in
compose()
and having it successfully print to the debug console. However, while that worked, and I can see in the debug console that OptionList.OptionSelected event is being sent,on_option_list_selected()
is never called as it never prints "bark" to the debug console. Is there something I'm missing or some fundamental problem with this MVE I'm not catching?Also see below output from the textual console:
The text was updated successfully, but these errors were encountered: