code: def init_widget(self):
          
          super(UiKitControl, self).init_widget()
  
          d = self.declaration
          if d.clickable:
              #: A really ugly way to add the target
              #: would be nice if we could just pass the block pointer here :)
              self.get_app().bridge.addTarget(
                  self.widget,
                  forControlEvents=UIControl.UIControlEventTouchUpInside,
                  andCallback=self.widget.getId(),
                  usingMethod="onClicked",
                  withValues=[]
              )
  
              self.widget.onClicked.connect(self.on_clicked)
docs: Initialize the state of the toolkit widget.
  
          This method is called during the top-down pass, just after the
          'create_widget()' method is called. This method should init the
          state of the widget. The child widgets will not yet be created.
  
          Note: This does NOT initialize text properties by default!