Forum Archive

Segmented control actions in Pythonista

SillySoviet

Hi guys,

I'm sure I'm missing something really simple, but I have a simple one screen UI with 3 segmented controls mocked up and can't find the "action" option in the attributes. What am I missing? Have been poking around documentation and GitHub to no avail. Thanks for any help.

SillySoviet

Aarrrrrggghhh. And now I can't figure out how to move this post to the right place. Really sorry. Time to sleep...

TutorialDoctor

I don't think it's there. Might have to use the Python function.

SegmentedControl.action

SillySoviet

I tried but can't figure out how to refer to the control...

SillySoviet

Figured it out based on this excellent tutorial:

https://github.com/humberry/ui-tutorial/blob/master/segmented-control.py