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
The UI screen doesn't have a method that would be called every time a user enters the screen. It is possible to use a workaround with the setup method and the screen_ready property set to False when the screen is closed (see the example [0]), however it is not a very friendly solution. The new method would be useful for updating the initial configuration of the screen before it is shown to the user.
Also, I am not sure why the setup method is even supported. It seems to be too specific without any immediate benefit to the simpleline library. It feels like a leftover from anaconda.
The UI screen doesn't have a method that would be called every time a user enters the screen. It is possible to use a workaround with the
setup
method and thescreen_ready
property set toFalse
when the screen is closed (see the example [0]), however it is not a very friendly solution. The new method would be useful for updating the initial configuration of the screen before it is shown to the user.Also, I am not sure why the
setup
method is even supported. It seems to be too specific without any immediate benefit to the simpleline library. It feels like a leftover from anaconda.[0] https://github.com/rhinstaller/python-simpleline/blob/master/examples/03_entry_counter/03_entry_counter.py#L65
The text was updated successfully, but these errors were encountered: