-class ListAuthorsWindow(AWindow):
-
- session_config_section_name = 'list_authors'
- window_title = u"m_Librarian: Список авторов"
-
- def __init__(self, parent, search_authors_results):
- self.search_authors_results = search_authors_results
- AWindow.__init__(self, parent)
-
- def OnInit(self):
- AWindow.OnInit(self)
- ListAuthorsPanel(self, self.search_authors_results)
-
-
-class ListAuthorsPanel(wx.Panel):
-
- def __init__(self, parent, search_authors_results):
- wx.Panel.__init__(self, parent)
- self.search_authors_results = search_authors_results
-
- list_authors_sizer = wx.BoxSizer(wx.VERTICAL)
- self.SetSizer(list_authors_sizer)
-
- self.grid = grid = wx.grid.Grid(self)
- list_authors_sizer.Add(grid, 0, wx.EXPAND, 0)
-
- self.InitGrid()