omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. SeaUrchin

    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.


    • Profile
    • Following 1
    • Followers 0
    • Topics 1
    • Posts 7
    • Best 1
    • Controversial 0
    • Groups 0

    SeaUrchin

    @SeaUrchin

    1
    Reputation
    605
    Profile views
    7
    Posts
    0
    Followers
    1
    Following
    Joined Last Online
    Location California, USA

    SeaUrchin Unfollow Follow

    Best posts made by SeaUrchin

    • Help with Ui Segment Bar

      Hi everyone! This is my first day coding ever, and I have chosen this app to start with! The question I am about to ask and the things I'm about to show you are very basic, so please bare with me.
      So I am starting out with making a simple program to be able to take a poll. After doing research I found that to give UI things to do you must give them an action. With the segment bar there is no option to add a action, so I was wondering how I would add one for it. If it helps, here is my code. Thank you all in advance!

      import ui
      import console
      def segment1(self):
         console.alert('Segment 1 Has been selected and accepted!')
      def segment2(self):
         console.alert('Segment 2 Has been selected and accepted!')
      v=ui.load_view()
      v.present()
         ```
      posted in Pythonista
      SeaUrchin
      SeaUrchin

    Latest posts made by SeaUrchin

    • RE: Help with Ui Segment Bar

      @AtomBombed thanks!

      posted in Pythonista
      SeaUrchin
      SeaUrchin
    • RE: Help with Ui Segment Bar

      Whoops, didn't see your post before mine. I will try that as well!

      posted in Pythonista
      SeaUrchin
      SeaUrchin
    • RE: Help with Ui Segment Bar

      I have also changed the console alerts to speech, so that it can be said while the Ui is running. Very cool speech module!

      posted in Pythonista
      SeaUrchin
      SeaUrchin
    • RE: Help with Ui Segment Bar

      Thank you very much!

      posted in Pythonista
      SeaUrchin
      SeaUrchin
    • RE: Help with Ui Segment Bar

      This does not seem to run in the output. I'm sorry if I needed to do something, after all this is my first day programming. What do I do to make it run?

      posted in Pythonista
      SeaUrchin
      SeaUrchin
    • RE: Help with Ui Segment Bar

      Oh ok, I see, so you just made it yourself instead of the ui feature. Thanks!

      posted in Pythonista
      SeaUrchin
      SeaUrchin
    • Help with Ui Segment Bar

      Hi everyone! This is my first day coding ever, and I have chosen this app to start with! The question I am about to ask and the things I'm about to show you are very basic, so please bare with me.
      So I am starting out with making a simple program to be able to take a poll. After doing research I found that to give UI things to do you must give them an action. With the segment bar there is no option to add a action, so I was wondering how I would add one for it. If it helps, here is my code. Thank you all in advance!

      import ui
      import console
      def segment1(self):
         console.alert('Segment 1 Has been selected and accepted!')
      def segment2(self):
         console.alert('Segment 2 Has been selected and accepted!')
      v=ui.load_view()
      v.present()
         ```
      posted in Pythonista
      SeaUrchin
      SeaUrchin