comparison src/browser/sat_browser/xmlui.py @ 958:3c81203840a4

browser (xmlui): added LabelContainer (use PairsContainer to handle it for now)
author Goffi <goffi@goffi.org>
date Sun, 24 Sep 2017 16:49:23 +0200
parents f8a7a046ff9c
children fd4eae654182
comparison
equal deleted inserted replaced
957:67bf14c91d5c 958:3c81203840a4
308 self.setWidget(self.row, self.col, widget) 308 self.setWidget(self.row, self.col, widget)
309 self.col += 1 309 self.col += 1
310 if self.col == 2: 310 if self.col == 2:
311 self.row += 1 311 self.row += 1
312 self.col = 0 312 self.col = 0
313
314
315 class LabelContainer(PairsContainer, xmlui.LabelContainer):
316 pass
313 317
314 318
315 class TabsContainer(LiberviaContainer, xmlui.TabsContainer, TabPanel): 319 class TabsContainer(LiberviaContainer, xmlui.TabsContainer, TabPanel):
316 320
317 def __init__(self, xmlui_main, xmlui_parent): 321 def __init__(self, xmlui_main, xmlui_parent):