SWidget::SetAttribute

Performs the attribute assignment and invalidates the widget minimally based on what actually changed.