开发者

Menu item without a modifier key

I want to create menu using GTK+. My question is: is there any way to create menu items with accelerators, but with开发者_运维技巧out a modifier key?


Just put an underscore before the underlined letter, it will be underlined and used as a shortcut. For example, in pygtk:

copy = gtk.ImageMenuItem(gtk.STOCK_COPY)
copy.set_label("_Copy It!")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜