pub fn refresh_hook<X: XConn + 'static>( state: &mut State<X>, x: &mut X, ) -> Result<()>
Run any widget refresh actions and then redraw if needed