开发者

Widget Toolkits for Python 3 [closed]

Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

Improve this question

Because I like to future-proof my programs as much as I possibly can, I use the l开发者_JAVA技巧atest technologies under development. However, GTK (along with many other widget toolkits) does not appear to be compatible with Python 3. Are there any widget toolkits that fully support Python 3?

Thanks.


Currently, there are two main ways of doing GTK+ programming with Python:

  • The deprecated PyGTK, which use static GTK+ bindings, and therefore tedious to maintain. It often lagged behind GTK+ state-of-the-art as a result.

  • The more modern PyGObject, which is moving towards dynamic bindings by using gobject-introspection.

Of these, only the second method works with Python 3. This work is fairly new, and you are likely going to face some bugs here and there, and perhaps changing API, not to mention not-enough documentation. If you proceed anyways, go join the mailing list and/or the IRC channel, #python @irc.gimp.net, but do start with the tutorial.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜