Is there a way to pass the same parameter n times to a function?
For example:
if len(menu) == 1:
gtk.ListStore(str)
elif len(menu) == 2:
gtk.ListStore(str, str)
elif len(menu) == 3:
gtk.ListStore(str, str, str)
Something like this, but "automatic"...