def init_widget(self):
        """ 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.

        """
        super(UiKitActivityIndicator, self).init_widget()

        d = self.declaration
        if d.size != 'normal':
            self.set_size(d.size)
        if d.color:
            self.set_color(d.color)

        #: Why would you want to stop an activity indicator?
        self.widget.startAnimating()
def init_widget ( self ) : super ( UiKitActivityIndicator , self ) . init_widget ( ) d = self . declaration if d . size != 'normal' : self . set_size ( d . size ) if d . color : self . set_color ( d . color ) self . widget . startAnimating ( )
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.