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.


    Action from Custom View

    Pythonista
    2
    2
    1527
    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.
    • bmccardle
      bmccardle last edited by

      I have a table view which is a subview of navigation view. When you select a row it will push a view. There are currently 6 custom view which have there own .py and .pyui file.
      Each view has a button that calls a function which is tied to the .py file associated with the view. When the button is tapped nothing happens. Is there a way to associate an action with the .py file that is associated with the custom view, not the table view?

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

        Not really; you could import the action functions from the scripts that are associated with your custom views into your main script though...

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