本文介绍了PyGTK与wxPython的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好......


我认为wxPython比PyGTK要好得多。首先,PyGTK需要安装GTK运行时的
,而wxPython完全是Python'的
模块,因此它便于应用程序的分发。此外,PyGTK使用

特定的GTK控件或小部件,而wxPython使用应用程序运行平台的原生

控件。


我正在学习这两个,但步伐缓慢,所以我想知道关于这个主题的所有

评论。


我听说过Glade制作应用程序的图形布局,然后

将其导出为XML。然后,它连接到PyGTK。我看到的问题是

如果你想引用一个特定的无线电按钮的状态怎么样?b $ b radobutton'的组?这似乎很麻烦。


请发表关于每个库的优缺点的任何评论,并且

构建图形布局的正确方法(通过

Glade或手工代码生成XML)。谢谢。


Daniel

解决方案




嗯? wxPythonGTK也需要GTK运行时:






他可能在谈论Windows,其中wx工具包使用本机

(或多或少......控制。


但是,在Windows上安装GTK运行时库是一键式的b
工作,有自动安装程序。

Hi all...

I think wxPython is much better than PyGTK. First of all, PyGTK needs
the GTK runtime installed, whereas wxPython is entirely Python''s
modules, so It facilitates the apps'' distribution. Also, PyGTK uses
specific controls or widgets of GTK, while wxPython uses native
controls of the platform where the app is running.

I''m learning both, but at a slow step, so I want to know all the
comments about this subject in this group.

I heard about Glade to make the graphic layout of the app and then
export it as XML. Then, it connects to PyGTK. The problem I see is that
What if you want to refer to a state of a specific radiobutton of a
radobutton''s group? It seems to be very troublesome.

Please, post any comments about the pros and cons of each library, and
the proper way to construct the graphic layout (generating XML through
Glade, or by hand-code). Thanks.

Daniel

解决方案



Huh? wxPythonGTK requires GTK runtimes as well:





He was probably talking about Windows, where wx toolkit uses native
(more or less...) controls.

But then, installing GTK runtime libraries on Windows is a one-click
job, there are automated installers for it.


这篇关于PyGTK与wxPython的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 03:41