Beispiel #1
0
    def on_conjurer_help(self, evt):
        query = evt.GetValue()

        query_list = query.split('|', 2)
        engine = query_list[1]

        if engine == "wiki":
            iehelpwindow.CreateWindow(self, "http://thezombieengine.sourceforge.net/"\
                                            "tiki-searchresults.php?words=",
                                      "&where=wikis&search=go",
                                      query_list[0],
                                      "http://thezombieengine.sourceforge.net/")
        elif engine == "trac":
            iehelpwindow.CreateWindow(self, "http://sourceforge.net/tracker/?group_id=219911"\
                                      "nebula2rns/search?q=",
                                      "&wiki=on&changeset=on&ticket=on",
                                      query_list[0],
                                      "http://sourceforge.net/tracker/?group_id=219911")
        elif engine == "nebula":
            iehelpwindow.CreateWindow(self, "http://thezombieengine.wiki.sourceforge.net/"\
                                      "nightlybuild/doc/nebula2/html/class",
                                      ".html",
                                      query_list[0],
                                      "http://thezombieengine.wiki.sourceforge.net/"\
                                      "nightlybuild/doc/nebula2/"\
                                      "html/index.html")
Beispiel #2
0
    def on_wiki_help(self,evt):
        dlg = wx.TextEntryDialog(self.get_frame(),
                                 'Put the word you want to search?',
                                 'Wiki Search Engine')
        
        # Get the clipboard content
        #do = wx.TextDataObject()
        #wx.TheClipboard.Open()
        #success = wx.TheClipboard.GetData(do)
        #wx.TheClipboard.Close()


        #if (success):
        #    dlg.SetValue(do.GetText())
        #else:
        dlg.SetValue("")

        if dlg.ShowModal() == wx.ID_OK:
            iehelpwindow.CreateWindow(self.get_frame(),
                                      "http://thezombieengine.wiki.sourceforge.net/"\
                                      "tiki-searchresults.php?words=",
                                      "&where=wikis&search=go", dlg.GetValue(),
                                      "http://thezombieengine.wiki.sourceforge.net/")

        dlg.Destroy()
Beispiel #3
0
 def on_nebula2_help(self,evt):
     dlg = wx.TextEntryDialog(self.get_frame(),
                              'Put the word you want to search?',
                              'Trac Search Engine')
     if dlg.ShowModal() == wx.ID_OK:            
         iehelpwindow.CreateWindow(self.get_frame(),
                                   "http://thezombieengine.sourceforge.net/"\
                                   "nightlybuild/doc/nebula2/html/class",
                                   ".html",
                                   dlg.GetValue(),
                                   "http://thezombieengine.sourceforge.net/"\
                                   "nightlybuild/doc/nebula2/"\
                                   "html/index.html")
     dlg.Destroy()
Beispiel #4
0
    def on_trac_help(self,evt):
        dlg = wx.TextEntryDialog(self.get_frame(),
                                 'Put the word you want to search?',
                                 'Trac Search Engine')

        dlg.SetValue("")

        if dlg.ShowModal() == wx.ID_OK:
            iehelpwindow.CreateWindow(self.get_frame(),
                                      "http://sourceforge.net/tracker/?group_id=219911"\
                                      "search?q=",
                                      "&wiki=on&changeset=on&ticket=on",
                                      dlg.GetValue(),
                                      "http://sourceforge.net/tracker/?group_id=219911")
        dlg.Destroy()
Beispiel #5
0
 def on_help(self, event):
     iehelpwindow.CreateWindow(
         self.get_frame(),
         "http://thezombieengine.sourceforge.net/SWD+Nebula+Conjurer+FSM+editor"
     )
Beispiel #6
0
 def on_manual (self,evt):
     iehelpwindow.CreateWindow(self.get_frame(),
                               "http://thezombieengine.sourceforge.net/SWD+Nebula+Conjurer")
Beispiel #7
0
 def on_export (self,evt):
     iehelpwindow.CreateWindow(self.get_frame(),
                               "http://thezombieengine.sourceforge.net/SWD+Nebula+MAX+Exporter")