Right, gotta expose widgets to other actors
parent
72f417b9c2
commit
32a7f4cbd3
|
@ -706,6 +706,7 @@ async def _async_main(
|
||||||
# set up a pager view for large ticker lists
|
# set up a pager view for large ticker lists
|
||||||
table.bind(minimum_height=table.setter('height'))
|
table.bind(minimum_height=table.setter('height'))
|
||||||
|
|
||||||
|
ss = tractor.current_actor().statespace
|
||||||
try:
|
try:
|
||||||
async with trio.open_nursery() as nursery:
|
async with trio.open_nursery() as nursery:
|
||||||
pager = PagerView(
|
pager = PagerView(
|
||||||
|
@ -722,6 +723,7 @@ async def _async_main(
|
||||||
'header': header,
|
'header': header,
|
||||||
'pager': pager,
|
'pager': pager,
|
||||||
}
|
}
|
||||||
|
ss['widgets'] = widgets
|
||||||
nursery.start_soon(
|
nursery.start_soon(
|
||||||
update_quotes,
|
update_quotes,
|
||||||
nursery,
|
nursery,
|
||||||
|
|
Loading…
Reference in New Issue