omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. scopaest
    3. Posts

    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 0
    • Followers 0
    • Topics 0
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by scopaest

    • RE: I made GUI Helper

      after a quick test I saw that it makes it possible to hide the statusbar and the title bar.

      can u tell us the rest of the use?

      Thanks :)

      posted in Pythonista
      scopaest
      scopaest
    • RE: Thank you Omz for the immense update!

      yea, thank you for pythonista an the great updates :)

      posted in Pythonista
      scopaest
      scopaest
    • RE: Method takes exactly 2 arguments...but it doesn't...

      It should work...

      When I try this:

      def kraken(a,b,c):
      	var1 = a+10
      	var2 = b+10
      	var3 = c+10
      	return(var1,var2,var3)
      
      final = kraken(1,2,3)
      print(final)
      
      

      it prints:

      (11,12,13)
      

      without an Error

      Can u post a bigger example?

      posted in Pythonista
      scopaest
      scopaest
    • RE: How i make UI buttons and link them?

      Idk if this is the best solution, but u could do it this way:

      (0. create the button and the label with the ui designer...)

      1. click on the 'i' to edit the button
      2. set in the field "Action" a name (button1_Action, or what ever..)
      3. in the Code/py-File u have now to define the button and say, what it should do when clicked:
      def button1_Action(sender):
      	sender.superview['label1'].text = 'new Text'
      
      

      edit: I just saw that u want to set the text from a Text-input.
      in this case u have to expand it:
      instead of:

      def button1_Action(sender):
      	sender.superview['label1'].text = 'new Text'
      

      code this:

      sender.superview['label1'].text = sender sender.superview['textfield1'].text
      

      (or if u want to do it hard-coded: see post @ccc )

      posted in Pythonista
      scopaest
      scopaest