omz:forum

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

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

    oraant

    @oraant

    0
    Reputation
    655
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    oraant Unfollow Follow

    Latest posts made by oraant

    • How to use custom attribures in pyui?

      I have a view like this

      class PathView (ui.View):
      	def __init__(self, *arg, **kw):
      		print(arg, kw)    # notice here!
      		self.flex = 'WH'
      		self.path = None
      		self.paths = []
      		self.action = None
      

      And I made a pyui, use the custom view PathView, and put some custom attributes like this:

      {"bc": "oooo" }
      

      When I run the first script, it printed this:

      () {}
      

      Why?How should I use it?

      posted in Pythonista
      oraant
      oraant