コード例 #1
0
    def __init__(self, parent, charEditor):
        BaseImplantEditorView.__init__(self, parent)

        self.determineEnabled()
        charEditor.Bind(GE.CHAR_CHANGED, self.contextChanged)

        self.pluggedImplantsTree.Bind(wx.EVT_CONTEXT_MENU, self.spawnMenu)
コード例 #2
0
ファイル: characterEditor.py プロジェクト: blitzmann/Pyfa
    def __init__(self, parent, charEditor):
        BaseImplantEditorView.__init__(self, parent)

        self.determineEnabled()
        charEditor.Bind(GE.CHAR_CHANGED, self.contextChanged)

        self.pluggedImplantsTree.Bind(wx.EVT_CONTEXT_MENU, self.spawnMenu)
コード例 #3
0
    def __init__(self, parent):
        BaseImplantEditorView.__init__(self, parent)

        self.determineEnabled()

        if "__WXGTK__" in wx.PlatformInfo:
            self.pluggedImplantsTree.Bind(wx.EVT_RIGHT_UP, self.scheduleMenu)
        else:
            self.pluggedImplantsTree.Bind(wx.EVT_RIGHT_DOWN, self.scheduleMenu)
コード例 #4
0
ファイル: characterEditor.py プロジェクト: MrNukealizer/Pyfa
    def __init__(self, parent):
        BaseImplantEditorView.__init__ (self, parent)

        self.determineEnabled()

        if "__WXGTK__" in wx.PlatformInfo:
            self.pluggedImplantsTree.Bind(wx.EVT_RIGHT_UP, self.scheduleMenu)
        else:
            self.pluggedImplantsTree.Bind(wx.EVT_RIGHT_DOWN, self.scheduleMenu)
コード例 #5
0
ファイル: characterEditor.py プロジェクト: Sectoid/Pyfa
    def __init__(self, parent, charEditor):
        BaseImplantEditorView.__init__(self, parent)

        self.determineEnabled()
        charEditor.Bind(GE.CHAR_CHANGED, self.contextChanged)

        if "__WXGTK__" in wx.PlatformInfo:
            self.pluggedImplantsTree.Bind(wx.EVT_RIGHT_UP, self.scheduleMenu)
        else:
            self.pluggedImplantsTree.Bind(wx.EVT_RIGHT_DOWN, self.scheduleMenu)
コード例 #6
0
    def __init__(self, parent, charEditor):
        BaseImplantEditorView.__init__(self, parent)

        self.determineEnabled()
        charEditor.Bind(GE.CHAR_CHANGED, self.contextChanged)

        if "__WXGTK__" in wx.PlatformInfo:
            self.pluggedImplantsTree.Bind(wx.EVT_RIGHT_UP, self.scheduleMenu)
        else:
            self.pluggedImplantsTree.Bind(wx.EVT_RIGHT_DOWN, self.scheduleMenu)
コード例 #7
0
 def contextChanged(self, event):
     BaseImplantEditorView.contextChanged(self, event)
     self.determineEnabled()
コード例 #8
0
 def __init__(self, parent):
     BaseImplantEditorView.__init__(self, parent)
     if 'wxMSW' in wx.PlatformInfo:
         self.SetBackgroundColour(
             wx.SystemSettings.GetColour(wx.SYS_COLOUR_BTNFACE))
コード例 #9
0
ファイル: characterEditor.py プロジェクト: Sectoid/Pyfa
 def contextChanged(self, event):
     BaseImplantEditorView.contextChanged(self, event)
     self.determineEnabled()
コード例 #10
0
ファイル: setEditor.py プロジェクト: Sectoid/Pyfa
 def __init__(self, parent):
     BaseImplantEditorView.__init__(self, parent)
     if 'wxMSW' in wx.PlatformInfo:
         self.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_BTNFACE))