开发者

How do I install python gtkmozembed package or is there a replacement of python GtkMozEmbed in windows?

开发者 https://www.devze.com 2022-12-27 07:47 出处:网络
self.widget = gtkmozembed.MozEmbed() self.widget.set_size_request(x + 18, y) I can\'t find a binary installer of 开发者_运维知识库gtkmozembed,
self.widget = gtkmozembed.MozEmbed()
self.widget.set_size_request(x + 18, y)

I can't find a binary installer of 开发者_运维知识库gtkmozembed,

is there an equivalent that can do the above ?


You should specify what OS/platform you're on. Binary installers are OS-specific. Also you should specify more accurately what you're trying to do. The code is pretty much out of context and it can be hard to see what you're trying to do. I'm assuming you're trying to have an embedded browser widget in your Python app.

Gtkmozembed for Python is part of PyGTK (pygtk.org) - you'll need to install PyGTK to use gtkmozembed.

I couldn't find any binary installers, but at the bottom of pygtk.org/downloads.html, there are links to instructions for building the binary installer on different platforms.

Also this link could be helpful (assuming you're on Windows): http://faq.pygtk.org/index.py?file=faq21.001.htp&req=show

Other than gtkmozembed there exists pywebkitgtk and wx.HtmlWindow (wxWidgets) but I must admit I couldn't find much information on those.

0

精彩评论

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

关注公众号