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.


    Some direction for custom UI widgets?

    Pythonista
    3
    3
    2588
    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.
    • TutorialDoctor
      TutorialDoctor last edited by TutorialDoctor

      Wondering how I could do custom UIs in Pythonista (inspired by the gauge someone is trying to create in another topic). I was thinking of using the webView with JqueryUI somehow.

      Any way this might be done with Pythonista modules? Perhaps some type of graph drawing library?

      Just need some guidance.

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

        if your custom ui.View includes a draw method, you can use all of the ui.Path drawing features. Touch events can call set_needs_display which will force an update

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

          Here you can find an example. If you like e.g. to put a label on the button take care of the order (see SpecialButton3.py).

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