How do I install the python package gtkmozembed or is there a python replacement for GtkMozEmbed on Windows?

self.widget = gtkmozembed.MozEmbed()
self.widget.set_size_request(x + 18, y)

      

I cannot find the binary installer gtkmozembed

,

is there an equivalent that the above can do?

+2


a source to share


1 answer


You must specify which OS / platform you are on. Binary installers are OS dependent. Also you should clarify what you are trying to do. The code is pretty much out of context and it can be difficult to figure out what you are trying to do. I am assuming you are trying to have an embedded browser widget in your Python application.

Gtkmozembed for Python is part of PyGTK (pygtk.org) - you will 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 creating a binary installer on different platforms.



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

Besides gtkmozembed there is pywebkitgtk and wx.HtmlWindow (wxWidgets), but I must admit that I couldn't find much information about them.

0


a source







All Articles