SWidgetSwitcher::GetActiveWidget

Gets the active widget.