GTK或TKinter(还有什么?) [英] GTK or TKinter (or what else?)

查看:115
本文介绍了GTK或TKinter(还有什么?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在linux下使用python并想创建一些GUI应用程序。我已经看到Python可以一起使用一些不同的图形

库,并且想建议使用哪一个。

我觉得GTK是更好的文档,芽不想创建程序

,这些程序不是完全可移植的。而且,我知道你可以使用wxWindows作为

...我已经在我的C程序中尝试过它并且不喜欢事件的处理方式

。 Python有什么不同吗?

谢谢

Marco

Hi,
I use python under linux and would like to create some GUI applications. I
have seen that Python can be used together woth some different graphic
libraries and would like to have a suggestion about which one to use.
I feel like GTK is better documented bud would not like to create programs
which are not fully portable. Moreover, I know you can use wxWindows as
well... I have tried it in my C program and didn''t like the way events were
handled. Are there any differences in Python?
Thanks
Marco

推荐答案

5月19日星期三2004年下午11:57,Marco Terzuoli写道:
On Wednesday 19 May 2004 11:57 pm, Marco Terzuoli wrote:
我在linux下使用python并想创建一些GUI应用程序。
I use python under linux and would like to create some GUI applications.




考虑PyQt和/或PyKDE。您可以从河岸获得两者:

http://riverbankcomputing.co。英国/


我喜欢使用这两者的原因,没有特别的顺序:


质量:Qt和KDE都是非常好的设计

文档:一切都记录完毕

波兰语:大多数东西都是一致的

工具:GUI设计师很棒

平台:适用于Mac和Windows的合理便携性

数量:更多的小部件比你可以摇一摇棒


-

Troy Melhase, tr**@gci.net

-

很难相信很少有政客被绞死。 - GK

Chesterton



Consider PyQt and/or PyKDE. You can get both from Riverbank:

http://riverbankcomputing.co.uk/

The reasons I like using these two, in no particular order:

Quality: Qt and KDE are both very well designed
Docs: Everything is documented
Polish: Most things are consistent
Tools: The GUI designer is awesome
Platforms: Reasonable portability to Mac and Windows
Quantity: More widgets than you can shake a stick at

--
Troy Melhase, tr**@gci.net
--
It is terrible to contemplete how few politicians are hanged. - G. K.
Chesterton


Marco Terzuoli写道:
Marco Terzuoli wrote:

我在linux下使用python想创建一些GUI应用程序。我已经看到Python可以和一些不同的图形库一起使用,并希望有一个关于使用哪一个的建议。
我觉得GTK更好记录芽不喜欢创建不完全可移植的程序。而且,我知道你可以使用wxWindows好了......我已经在我的C程序中尝试了它并且不喜欢处理事件的方式。 Python有什么不同吗?
谢谢
Marco
Hi,
I use python under linux and would like to create some GUI applications. I
have seen that Python can be used together woth some different graphic
libraries and would like to have a suggestion about which one to use.
I feel like GTK is better documented bud would not like to create programs
which are not fully portable. Moreover, I know you can use wxWindows as
well... I have tried it in my C program and didn''t like the way events were
handled. Are there any differences in Python?
Thanks
Marco




我肯定会推荐GTK。

它有巨大的支持现在支持

现在它也支持Windows.

我这里有一些示例应用程序:
http://www.pixelbeat.org/talks/pygtk/
$ b $bPádraig。



I would definitely recommend GTK.
It has huge support being it now
and it''s supported on windows now also.
I''ve some example apps here:
http://www.pixelbeat.org/talks/pygtk/

Pádraig.


文章< lb ****************** @ news.indigo。即>,< P@draigBrady.com>写道:
In article <lb******************@news.indigo.ie>, <P@draigBrady.com> wrote:
Marco Terzuoli写道:
Marco Terzuoli wrote:

我在linux下使用python并想创建一些GUI应用程序。我已经看到Python可以和一些不同的图形库一起使用,并希望有一个关于使用哪一个的建议。
我觉得GTK更好记录芽不喜欢创建不完全可移植的程序。而且,我知道你可以使用wxWindows好了......我已经在我的C程序中尝试了它并且不喜欢处理事件的方式。 Python有什么不同吗?
谢谢
Marco
Hi,
I use python under linux and would like to create some GUI applications. I
have seen that Python can be used together woth some different graphic
libraries and would like to have a suggestion about which one to use.
I feel like GTK is better documented bud would not like to create programs
which are not fully portable. Moreover, I know you can use wxWindows as
well... I have tried it in my C program and didn''t like the way events were
handled. Are there any differences in Python?
Thanks
Marco



我肯定会推荐GTK。
现在它有很大的支持
现在它也支持Windows.
我在这里有一些示例应用程序:
http://www.pixelbeat.org/talks/pygtk/

Pádraig。



I would definitely recommend GTK.
It has huge support being it now
and it''s supported on windows now also.
I''ve some example apps here:
http://www.pixelbeat.org/talks/pygtk/

Pádraig.




到目前为止,我已经看过两次跟进,每个人都对PyGTK和PyQt表达了热情

。我知道还有其他经验丰富的开发人员赞成wxPython和Tkinter,并且......我向Terzuoli先生推荐

他更准确地详述了他的问题;我建议

那些建议他们在< URL:
http://www.python.org/cgi-bin/moinmoin/GuiProgramming >

和< URL:< a rel =nofollowhref =http://www.python.org/cgi-bin/moinmoin/GuiProgrammingtarget =_ blank> http://www.python.org/cgi-bin/moinmoin/GuiProgramming > ;.


经常出现这些问题。

-


Cameron Laird < cl **** @ phaseit.net>

业务: http: //www.Phaseit.net



I''ve seen two follow-ups so far, one each expressing enthusiasm
for PyGTK and PyQt. I know that still other experienced developers
favor wxPython, and Tkinter, and ... I recommend to Mr. Terzuoli
that he detail his question even more precisely; I recommend to
those advising him that they contribute to the Wikis at <URL:
http://www.python.org/cgi-bin/moinmoin/GuiProgramming >
and <URL: http://www.python.org/cgi-bin/moinmoin/GuiProgramming >.

These questions come up soooooo often.
--

Cameron Laird <cl****@phaseit.net>
Business: http://www.Phaseit.net


这篇关于GTK或TKinter(还有什么?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆