Access Gui-Core viz elements from the root of taipy gui builder
All Gui-Core visual elements should be accessible through the Taipy Gui Builder API.
This should work:
from taipy.gui import Gui
import taipy.gui.builder as tgb
with tgb.Page() as page:
tgb.scenario(None)
Gui(page=page).run()
Is it really solved? This is still not working on my side
Any update on this?
Did you try tgb.gui_core.scenario
C:\Users\jacta\.conda\envs\enterprise_3_1\lib\site-packages\taipy\gui\gui.py:774: TaipyGuiWarning: on_change(): callback function raised an exception:
module 'taipy.gui.builder' has no attribute 'gui_core'
Not working here
right now, on 3.1, you can use this syntax to access the gui_core
import taipy.gui.builder as tgb
from taipy.gui import Gui
with tgb.Page() as page:
tgb.taipy_gui_core.scenario(None)
Gui(page=page).run()
I will allow the access of all element from the root of tgb
We believe that this behavior should be included in the 3.1.1 version as it seems quite important for the use of Taipy with Python @dinhlongviolin1 @FabienLelaquais What do you think?
We believe that this behavior should be included in the 3.1.1 version as it seems quite important for the use of Taipy with Python
Any thoughts @dinhlongviolin1 @FabienLelaquais @jrobinAV ?
I agree it should be in the 3.1.1 if possible.
I also agree.
Sure why not, let me do it