[pygtk] Gtkmozembed non-interactive use

2009-09-11 Thread Simon Waters
Found partially written script on the web for thumbnailing websites with gtkmozembed. Claiming... # This file is released into the public domain. # Originally Written by Andrew McCall - # modified by Matt Biddulph - - to take screenshots My first ever python project was to hack it into a more

Re: [pygtk] Gtkmozembed

2009-09-09 Thread Sayamindu Dasgupta
On Thu, Sep 10, 2009 at 1:55 AM, Jeffrey Barish wrote: > Jeffrey Barish wrote: > >> John Stowers wrote: >> >>> I would also recommend moving to PyWebitGtk asap. GtkMozembed is a train >>> wreck. >> >> Can you say more about what's wrong with GtkMozembed?  Also, can you >> direct me to documentation

Re: [pygtk] Gtkmozembed

2009-09-09 Thread Jeffrey Barish
Jeffrey Barish wrote: > John Stowers wrote: > >> I would also recommend moving to PyWebitGtk asap. GtkMozembed is a train >> wreck. > > Can you say more about what's wrong with GtkMozembed? Also, can you > direct me to documentation for PyWebkitGtk? Aside from the lack of on-line documentation

Re: [pygtk] Gtkmozembed

2009-09-04 Thread Tomeu Vizoso
On Fri, Sep 4, 2009 at 01:37, Jeffrey Barish wrote: > John Stowers wrote: > >> I would also recommend moving to PyWebitGtk asap. GtkMozembed is a train >> wreck. > > Can you say more about what's wrong with GtkMozembed?  Also, can you direct > me to documentation for PyWebkitGtk? An there's also H

Re: [pygtk] Gtkmozembed

2009-09-03 Thread Jeffrey Barish
John Stowers wrote: > I would also recommend moving to PyWebitGtk asap. GtkMozembed is a train > wreck. Can you say more about what's wrong with GtkMozembed? Also, can you direct me to documentation for PyWebkitGtk? -- Jeffrey Barish ___ pygtk mail

Re: [pygtk] Gtkmozembed

2009-09-03 Thread John Stowers
On Thu, 2009-09-03 at 10:33 -0600, Jeffrey Barish wrote: > Jeffrey Barish wrote: > > > Does anyone know why this test program works with one string but not the > > other? Using the load_url method works in both cases. I would also recommend moving to PyWebitGtk asap. GtkMozembed is a train wreck

Re: [pygtk] Gtkmozembed

2009-09-03 Thread Jeffrey Barish
Jeffrey Barish wrote: > Does anyone know why this test program works with one string but not the > other? Using the load_url method works in both cases. For the benefit of posterity, the problem is that gtkmozembed cannot swallow boluses of data larger than some amount. If you feed the html to

[pygtk] Gtkmozembed

2009-09-02 Thread Jeffrey Barish
Does anyone know why this test program works with one string but not the other? Using the load_url method works in both cases. import urllib2 import gtk import gtkmozembed USER_AGENT = "Mozilla/5.0 (compatible; Konqueror/4.2; Linux; X11; x86_64) KHTML/4.2.4 (like Gecko) Fedora/4.2.4-2.fc11" c

Re: [pygtk] gtkmozembed not working

2009-03-19 Thread Gabriele Lanaro
On Thu, 19 Mar 2009 23:01:11 + Gabriele Lanaro wrote: > After solving the regular segfaulting exporting appropriate environment > variables, I had some problem: > If I use a load_url method I receive a blank window, If I try to load some > data with render_data method, i receive a segfault.

[pygtk] gtkmozembed not working

2009-03-19 Thread Gabriele Lanaro
After solving the regular segfaulting exporting appropriate environment variables, I had some problem: If I use a load_url method I receive a blank window, If I try to load some data with render_data method, i receive a segfault.. -- Gabriele Lanaro import gtk,pygtk import gtkmozembed import

Re: [pygtk] gtkmozembed crashes

2008-12-03 Thread Andriy Khavryuchenko
Andriy Khavryuchenko написав(ла): > piotr maliński wrote: >> try exporting this before running the app: >> export MOZILLA_FIVE_HOME="/path/to/xulrunner" >> >> for example: >> >> export MOZILLA_FIVE_HOME="/usr/lib/xulrunner-1.9/" > > Sorry, previous emails went personally to Piotr. > > Wow! Black

Re: [pygtk] gtkmozembed crashes

2008-12-03 Thread Andriy Khavryuchenko
Andriy Khavryuchenko wrote: > Program received signal SIGSEGV, Segmentation fault. > 0xb66ea346 in nsEmbedStream::AppendToStream () from /usr/lib/libxul.so > (gdb) bt Here it fails on call // notify our listeners rv = mStreamListener->OnDataAvailable(mChannel,

Re: [pygtk] gtkmozembed crashes

2008-12-03 Thread Andriy Khavryuchenko
piotr maliński wrote: > try exporting this before running the app: > export MOZILLA_FIVE_HOME="/path/to/xulrunner" > > for example: > > export MOZILLA_FIVE_HOME="/usr/lib/xulrunner-1.9/" Sorry, previous emails went personally to Piotr. Wow! Black magic! Now it segfaults *after* show_all() :)

Re: [pygtk] gtkmozembed crashes

2008-12-03 Thread piotr maliński
try exporting this before running the app: export MOZILLA_FIVE_HOME="/path/to/xulrunner" for example: export MOZILLA_FIVE_HOME="/usr/lib/xulrunner-1.9/" 2008/12/3, Andriy Khavryuchenko <[EMAIL PROTECTED]>: > Hello, > > I can't get simple gtkmozembed example to run: > > import gtk > import gtk

[pygtk] gtkmozembed crashes

2008-12-03 Thread Andriy Khavryuchenko
Hello, I can't get simple gtkmozembed example to run: import gtk import gtkmozembed class TinyGecko: def __init__(self): self.moz = gtkmozembed.MozEmbed() win = gtk.Window() win.add(self.moz) print '!!! here' win.show_all() print '!!! t

[pygtk] gtkmozembed in windows

2008-11-07 Thread Braulio Ríos
Hello everybody I'm new to the list. The first thing I got to say is that I'm a linux user. However, I'm developing a software which I'd like to be multiplatform; I mean, it MUST be multiplatform, or at least it should run in windows and linux. The problem I actually have is that I can't find out h

[pygtk] gtkmozembed on win32

2008-10-24 Thread Patty Ackermann
hi all, i was wondering if anyone has any good reference on using gtkmozembed in a pygtk window using native win32. any help would be greatly appreciated, patty ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read t

[pygtk] GtkMozembed

2008-06-22 Thread Joe P. Cool
Hi, I want to write a multi-platform application (Linux, Windows) with Python and GTK. For displaying HTML I need GtkMozEmbed but I couldn't find a place to download a Win32 binary. Do you have any hints, also for build instructions using MinGW/MSys? Thanks for your help. -- Joe ___

Re: [pygtk] gtkmozembed

2007-11-05 Thread Gian Mario Tagliaretti
2007/11/4, JoY§TiCk ... <[EMAIL PROTECTED]>: > hi to you all, Hi, > I am coding a small app that uses gtkmozembed. The problem here is > that I need the embedded browser to load a list of page automatically > but, if one of these pages doesn't exist, then the browser displays an > alert window an

[pygtk] gtkmozembed

2007-11-04 Thread JoY§TiCk ...
hi to you all, I am coding a small app that uses gtkmozembed. The problem here is that I need the embedded browser to load a list of page automatically but, if one of these pages doesn't exist, then the browser displays an alert window and stuck until someone clicks on the ok button. I looked throu

[pygtk] gtkmozembed and open-uri signal

2006-03-07 Thread Yan BABILLIOT
Hi, I try to use the open-uri signal in gtkmozembed. According to the documentation the callback function should receive the uri that's going to be loaded, however all I get is a gpointer object (0x8421df0>). Any Idea how to use it ? thanks, yan. ___

Re: [pygtk] gtkmozembed for newer seamonkey?

2006-02-24 Thread Gustavo J. A. M. Carneiro
On Qua, 2006-02-22 at 12:45 -0500, Owen Williams wrote: > I have an application that I would like to work with mozilla embedding > (I'm currently using gtkhtml2), but the 'open-uri' signal is corrupt[1] > for older versions of mozilla. I'd like to try to test gtkmozembed with > a newer version of

[pygtk] gtkmozembed for newer seamonkey?

2006-02-22 Thread Owen Williams
I have an application that I would like to work with mozilla embedding (I'm currently using gtkhtml2), but the 'open-uri' signal is corrupt[1] for older versions of mozilla. I'd like to try to test gtkmozembed with a newer version of seamonkey, but libgtkembedmoz.so doesn't exist anymore [2]. How

Re: [pygtk] gtkmozembed crash

2005-10-01 Thread Gian Mario Tagliaretti
2005/10/1, Paco Moreno <[EMAIL PROTECTED]>: > I want to include a web navigator widget with mozembed but it crashes at init: > #!/usr/bin/python > import gtk > import gtkmozembed > i have debugged, and it crash just in the import of gtkmozembed, which version of gnome-python-extras do you have ins

[pygtk] gtkmozembed crash

2005-09-30 Thread Paco Moreno
I want to include a web navigator widget with mozembed but it crashes at init: #!/usr/bin/python import gtk import gtkmozembed i have debugged, and it crash just in the import of gtkmozembed, ¿whats happening? I have the firefox installed and Python 2.4.2 (No.2, Sep 30 2005, 21:19:01) [GCC 4.0.2 2

Re: [pygtk] GtkMozEmbed

2005-08-03 Thread Joel Dimbernat
Le mercredi 03 août 2005 à 20:48 +0100, Gustavo J. A. M. Carneiro a écrit : > On Wed, 2005-08-03 at 19:53 +0200, Joel Dimbernat wrote: > > Does anyone know how to use the open-uri signal of the GtkMozEmbed > > widget? > > > > This signal is emmited when you click on an uri, and it should bring the

Re: [pygtk] GtkMozEmbed

2005-08-03 Thread Gustavo J. A. M. Carneiro
On Wed, 2005-08-03 at 19:53 +0200, Joel Dimbernat wrote: > Does anyone know how to use the open-uri signal of the GtkMozEmbed > widget? > > This signal is emmited when you click on an uri, and it should bring the > address of the uri you're clicking on. > But I just can't get it. Is it a bug? or a

[pygtk] GtkMozEmbed

2005-08-03 Thread Joel Dimbernat
Does anyone know how to use the open-uri signal of the GtkMozEmbed widget? This signal is emmited when you click on an uri, and it should bring the address of the uri you're clicking on. But I just can't get it. Is it a bug? or are my skills too limited? Thanks everyone Joel Dimbernat

Re: [pygtk] gtkmozembed control

2005-05-11 Thread Gian Mario Tagliaretti
2005/5/10, Dennis Craven <[EMAIL PROTECTED]>: > PS: How can one submit *proper* documentation for a > class in the gnome-python-extras source distrobution. > I might as well write some as I'm doing this stuff and > I'm sure there is a proper format/procedure. Are there > any docs on how to make pr

RE: [pygtk] gtkmozembed control

2005-05-10 Thread Dennis Craven
--- "Leeuw van der, Tim" <[EMAIL PROTECTED]> wrote: > Try creating a special URL type, not 'file://'? > Hmm.. I must admit that I'm not sure what you mean, although this advice sounds promising. Defining a special URL type is a feature of the gtkmozembed widget? If I just change the URL type, as

RE: [pygtk] gtkmozembed control

2005-05-10 Thread Leeuw van der, Tim
Try creating a special URL type, not 'file://'? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dennis Craven Sent: Monday, May 09, 2005 5:55 PM To: pygtk@daa.com.au Subject: [pygtk] gtkmozembed control [...] Is there any way to override or

[pygtk] gtkmozembed control

2005-05-09 Thread Dennis Craven
Hello, I'm using gnome-python-extras 2.10.0 to write a serverless wiki. I'm using the gtkmozembed widget to render the content. Since the wiki is "serverless" I have to explicitly render the content with the render_data method. The problem I'm having is that when an internal wiki link is clicked