omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Segmented control actions in Pythonista

    Editorial
    2
    5
    7062
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SillySoviet
      SillySoviet last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • SillySoviet
        SillySoviet last edited by

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

        1 Reply Last reply Reply Quote 0
        • TutorialDoctor
          TutorialDoctor last edited by

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

          SegmentedControl.action

          1 Reply Last reply Reply Quote 0
          • SillySoviet
            SillySoviet last edited by

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

            1 Reply Last reply Reply Quote 0
            • SillySoviet
              SillySoviet last edited by

              Figured it out based on this excellent tutorial:

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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB Forums | Contributors