开发者

Accept keyboard shortcuts in pyGTK

开发者 https://www.devze.com 2023-02-13 00:16 出处:网络
I would 开发者_如何学JAVAlike to be able to have a keyboard shortcut to do a certain thing, like CTRL+O, or something else...

I would 开发者_如何学JAVAlike to be able to have a keyboard shortcut to do a certain thing, like CTRL+O, or something else...

xlib or pyGTK will work well.


The gtk.AccelGroup class (PyGTK) might be a good place to start. There are some examples in Virtaal's source (1 2 3 and more around the source).

0

精彩评论

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

关注公众号