SelectScreen¶
Description incomming.
XML definition¶
<screen name="foo" type="select">
<message>displayed message</message>
<option>first choice</option>
<option>second choice</option>
...
</screen>
Callback binding¶
Given a screenflow instance, with registered foo select screen,
callback binding can be achieved using on_select
decorator:
@screenflow.foo.on_sekect
def on_foo_select(option):
# TODO : Callback action here.