def __init__(self, master, name, contents): Tk.Frame.__init__(self, master) make_attributes_from_args('name', 'contents') self.button = Tk.Button(self, text=name) self.button.pack(side='left') self.combo = Tk.ComboBox(self) self.combo.pack(side='left') self.pack(side='left') self.listbox = self.combo.slistbox.listbox self.strings_to_parse = {}
def __init__(self, year=None, month=None, day=None, hour=None, minute=None, second=None, microsecond=None, ampm=None, dayofweek=None, tzinfo=None): make_attributes_from_args(*partialtime_attrs) self._hash_value = None