name 如果 type 为 object,则为要调用的方法。如果 type 为 action,则为要加载的动作的 XMLID,可使用原始格式或 %(XMLID)d 格式。 要求 可选 type str 默认 ''