'Internal function.'

def _create(self, itemType, args, kw):

    args = _flatten(args)
    cnf = args[(-1)]
    if (type(cnf) in (DictionaryType, TupleType)):
        args = args[:(-1)]
    else:
        cnf = {}
    return getint(self.tk.call(self._w, 'create', itemType, *(args + self._options(cnf, kw))))
