Example #1
0
    def __init__(self, parent, wxId, id):
        """Constuct a new formatted tab area.

        @param parent The parent wxPanel.

        @param wxId The ID number of the formatted list.

        @param id The identifier of the formatted list.

        @param ownerArea The Area in which the formatted tab area
        resides.
        """
        FormattedList.__init__(self, parent, wxId, id, style=wx.SUNKEN_BORDER)

        self.setSorted(False)
        self.multi = None

        # List of all currently hidden tabs.
        self.hiddenTabs = []
Example #2
0
    def __init__(self, parent, wxId, id):
        """Constuct a new formatted tab area.

        @param parent The parent wxPanel.

        @param wxId The ID number of the formatted list.

        @param id The identifier of the formatted list.

        @param ownerArea The Area in which the formatted tab area
        resides.
        """
        FormattedList.__init__(self, parent, wxId, id, style=wx.SUNKEN_BORDER)

        self.setSorted(False)
        self.multi = None

        # List of all currently hidden tabs.
        self.hiddenTabs = []
Example #3
0
    def onItemSelected(self, ev):
        FormattedList.onItemSelected(self, ev)

        self.multi.showPage(self.getSelectedItem())
Example #4
0
    def onItemSelected(self, ev):
        FormattedList.onItemSelected(self, ev)

        self.multi.showPage(self.getSelectedItem())