Sets focused or unfocused of the widget. This is the implementation of base widget.param widget Pointer referring to the widget.param active true for focused, false for unfocused.Sets alpha value of the widget. This is the implementation of base widget.param widget Pointer referring to the widget.param alpha The alpha value to set.