omz:forum

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

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

    BlockSweeps

    @BlockSweeps

    1
    Reputation
    359
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    BlockSweeps Unfollow Follow

    Best posts made by BlockSweeps

    • RE: Missing something

      @Phuket2 thanks for your reply and comments.
      I had played a little with tkinter befor trying pythonista. There, I made a frame called root and placed all of my widgets in the root.
      When I start to think of parent child relationships at different levels, things are starting to make sense.
      I will read up on superview.

      Thank you

      posted in Pythonista
      BlockSweeps
      BlockSweeps

    Latest posts made by BlockSweeps

    • RE: Missing something

      @Phuket2 thanks for your reply and comments.
      I had played a little with tkinter befor trying pythonista. There, I made a frame called root and placed all of my widgets in the root.
      When I start to think of parent child relationships at different levels, things are starting to make sense.
      I will read up on superview.

      Thank you

      posted in Pythonista
      BlockSweeps
      BlockSweeps
    • RE: Missing something

      @dgelessus thank you for you response. My ui is now working.
      I don't fully understand how, but I will go back to the tutorial and work it out.
      Thank you once again

      posted in Pythonista
      BlockSweeps
      BlockSweeps
    • RE: Missing something
      import ui
      
      def hit_button(sender):
          textfield1.text = 'Hello'
      
      
      ui.load_view('My UI').present('sheet')
      

      NameError: name 'textfield1' is not defined

      posted in Pythonista
      BlockSweeps
      BlockSweeps
    • Missing something

      I am using Pythonista 3
      I have made a pyui file with a button and a label.
      In my py file I have a defined a function for button action.
      I want the function to change the text in the label.
      Now I am stuck, what am I missing?
      If you think you can help, thank you 😊

      posted in Pythonista
      BlockSweeps
      BlockSweeps