Mercurial > libervia-backend
comparison frontends/sat_bridge_frontend/DBus.py @ 192:879beacb8e16
Primitivus: major changes in SelectableText, menu can now be used with mouse, TabsContainer show wich tab is selected
- SelectableText is a WidgetWrap of urwid.Text, and manage attributes and complexe combination like urwid.Text (list of tuples (attribute,text))
- Menu now use a ColumnsRoller, and can't anymore be displayed on 2 rows, avoiding potential bug when display MenuBox
- Mouse can be used in menu. Right click on MenuBox make it disappear
- Tab container now display which tab is selected by putting a 'title' attribute on the corresponding button
/!\ as SelectableText is heavily used, there can be regressions
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 19 Aug 2010 21:11:22 +0800 |
parents | 96af1bec2e68 |
children |
comparison
equal
deleted
inserted
replaced
191:1438a1337732 | 192:879beacb8e16 |
---|---|
53 | 53 |
54 def getProfileName(self, profile_key='@DEFAULT@'): | 54 def getProfileName(self, profile_key='@DEFAULT@'): |
55 return self.db_req_iface.getProfileName(profile_key) | 55 return self.db_req_iface.getProfileName(profile_key) |
56 | 56 |
57 def getProfilesList(self): | 57 def getProfilesList(self): |
58 return self.db_req_iface.getProfilesList() | 58 return self.db_req_iface.getProfilesList() |
59 | |
60 def createProfile(self, name): | 59 def createProfile(self, name): |
61 return self.db_req_iface.createProfile(name) | 60 return self.db_req_iface.createProfile(name) |
62 | 61 |
63 def deleteProfile(self, name): | 62 def deleteProfile(self, name): |
64 return self.db_req_iface.deleteProfile(name) | 63 return self.db_req_iface.deleteProfile(name) |