def __init__(self, exname, callback, sensicallback):
"""
callback -- the function to call when the user click on a button.
sensicallback -- a function that will return a list of all interval
it will be asked for.
"""
Gtk.Grid.__init__(self)
cfg.ConfigUtils.__init__(self, exname)
self.set_orientation(Gtk.Orientation.VERTICAL)
self.get_sensitive_buttons = sensicallback
self.m_callback = callback
self.m_buttons = {}
评论列表
文章目录