def _detach(self, event):
     # print("DEBUG: PopupWindow at detached call")
     self.hide()
     dlg = HtmlDialog(self._detached_title, self._current_details)
     dlg.SetPosition((wx.GetMouseState().x, wx.GetMouseState().y))
     dlg.Show()
     event.Skip()
Example #2
0
 def _detach(self, event):
     self.hide()
     dlg = HtmlDialog(self._detached_title, self._current_details)
     dlg.SetPosition((wx.GetMouseState().x, wx.GetMouseState().y))
     dlg.Show()
     if IS_WINDOWS:
         event.Skip()
Example #3
0
 def OnImportFailedHelp(self, event):
     if self._import_failed_shown:
         return
     dialog = HtmlDialog('Import failure handling', '''
     <br>Possible corrections and notes:<br>
     <ul>
         <li>Import failure is shown with red color.</li>
         <li>See Tools / View RIDE Log for detailed information about the failure.</li>
         <li>If the import contains a variable that RIDE has not initialized, consider adding the variable
         to variable table with a default value.</li>
         <li>For library import failure: Consider importing library spec XML (Tools / Import Library Spec XML or by
         adding the XML file with the correct name to PYTHONPATH) to enable keyword completion
         for example for Java libraries.
         Library spec XML can be created using libdoc tool from Robot Framework.
         For more information see <a href="https://github.com/robotframework/RIDE/wiki/Keyword-Completion#wiki-using-library-specs">wiki</a>.
         </li>
     </ul>''')
     dialog.Bind(wx.EVT_CLOSE, self._import_failed_help_closed)
     dialog.Show()
     self._import_failed_shown = True