PopupMenus.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:FRAPL 作者: FriedAppleTeam 项目源码 文件源码
def RegisterAction(act_name, act_text, act_handler, shortcut, tooltip, icon):
    newAction = action_desc_t(
        act_name,       # The action name. This acts like an ID and must be unique
        act_text,       # The action text.
        act_handler,    # The action handler.
        shortcut,       # Optional: the action shortcut
        tooltip,        # Optional: the action tooltip (available in menus/toolbar)
        icon)           # Optional: the action icon (shows when in menus/toolbars)
    register_action(newAction)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号