public bool SelectWidget(string name, bool focus = true)
 {
     ClearEventQueue();
     return(session.SelectWidget(name, focus));
 }