##// END OF EJS Templates
Add version trait to Widget base,...
Jonathan Frederic -
Show More
@@ -107,6 +107,7 b' class Widget(LoggingConfigurable):'
107 msg_throttle = Int(3, sync=True, help="""Maximum number of msgs the
107 msg_throttle = Int(3, sync=True, help="""Maximum number of msgs the
108 front-end can send before receiving an idle msg from the back-end.""")
108 front-end can send before receiving an idle msg from the back-end.""")
109
109
110 version = Int(0, sync=True, help="""Widget's version""")
110 keys = List()
111 keys = List()
111 def _keys_default(self):
112 def _keys_default(self):
112 return [name for name in self.traits(sync=True)]
113 return [name for name in self.traits(sync=True)]
General Comments 0
You need to be logged in to leave comments. Login now