mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-18 14:06:07 -04:00
The next generation branch has been added
This commit is contained in:
18
src/wxUI/buffers/panels.py
Normal file
18
src/wxUI/buffers/panels.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import wx
|
||||
from multiplatform_widgets import widgets
|
||||
|
||||
class accountPanel(wx.Panel):
|
||||
def __init__(self, parent, name=None):
|
||||
super(accountPanel, self).__init__(parent=parent)
|
||||
self.name = name
|
||||
self.type = "account"
|
||||
sizer = wx.BoxSizer(wx.VERTICAL)
|
||||
self.list = widgets.list(self, _(u"Announce"))
|
||||
sizer.Add(self.list.list, 0, wx.ALL, 5)
|
||||
self.SetSizer(sizer)
|
||||
|
||||
class emptyPanel(accountPanel):
|
||||
def __init__(self, parent, name):
|
||||
super(emptyPanel, self).__init__(parent=parent, name=name)
|
||||
self.type = "empty"
|
Reference in New Issue
Block a user