code: def on_show_window(self, check):
          
          if not isinstance(check, bool):
              raise TypeError("check can only be an instance of type bool")
          (can_show, win_id) = self._call("onShowWindow",
                       in_p=[check])
          return (can_show, win_id)
docs: Called by :py:func:`IMachine.can_show_console_window`  and by
          :py:func:`IMachine.show_console_window`  in order to notify
          console listeners
          :py:class:`ICanShowWindowEvent` 
          and :py:class:`IShowWindowEvent` .
  
          in check of type bool
  
          out can_show of type bool
  
          out win_id of type int
  
          raises :class:`VBoxErrorInvalidObjectState`
              Session type prevents operation.