78 Star 308 Fork 54

不在乎y / govcl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
menuitemdef.go 581 Bytes
一键复制 编辑 原始数据 按行查看 历史
不在乎y 提交于 2020-07-04 21:45 . Use comments that conform to godoc.
//----------------------------------------
//
// Copyright © ying32. All Rights Reserved.
//
// Licensed under Apache License 2.0
//
//----------------------------------------
package vcl
import (
. "github.com/ying32/govcl/vcl/api"
)
// 设置快捷键字符
//
// Set shortcut key characters.
func (m *TMenuItem) SetShortCutFromString(s string) {
MenuItem_SetShortCut(m.instance, DTextToShortCut(s))
}
// 获取快捷键字符
//
// Get shortcut key characters.
func (m *TMenuItem) ShortCutFromString() string {
return DShortCutToText(MenuItem_GetShortCut(m.instance))
}
Go
1
https://gitee.com/ying32/govcl.git
git@gitee.com:ying32/govcl.git
ying32
govcl
govcl
v2.2.0

搜索帮助