Forum Archive

Action from Custom View

bmccardle

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?

omz

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