[pygtk] Re: Icon in TreeStore problem?

2005-03-30 Thread Muhammad Ali
Okay sorry for the bother, I am stupid. Append of tree store needs to be passed an additional parameter. On Thu, 31 Mar 2005 11:38:35 +0500, Muhammad Ali <[EMAIL PROTECTED]> wrote: > Hi, > > This is related to the FAQ entry, How do I put Icons in a TreeView: > http://www.async.com.br/faq/pygtk/i

[pygtk] Icon in TreeStore problem?

2005-03-30 Thread Muhammad Ali
Hi, This is related to the FAQ entry, How do I put Icons in a TreeView: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.006.htp The problem is that the example uses a ListStore instead of a TreeStore and then appends the icon to it. When I use the same append method with the TreeSt

Re: [pygtk] pygtk svg image problem...

2005-03-30 Thread Muhammad Ali
Thanks Nikos for your answer. I think the FAQ should be updated because it clearly states that svg icons and images are supported in pygtk... here: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq08.010.htp Regards, Ali On Wed, 30 Mar 2005 14:10:20 +0300, Nikos Kouremenos <[EMAIL PR

Re: [pygtk] Application responsiveness problem (advanced)

2005-03-30 Thread John Finlay
László Monda wrote: On Sat, 2005-03-26 at 08:04 -0500, John (J5) Palmieri wrote: On Sat, 2005-03-26 at 06:46 -0600, Skip Montanaro wrote: László> I want to make my application very responsive under high load. ... László> As you can see, I want to pulse a progress bar while a long

[pygtk] Gtk Text entry widget

2005-03-30 Thread Nalli Dinesh
Hi Group! I am using glade to design a window. On this window, I have some button along with Gtk text entry widget. My question is about GtkEntry widget. On the button I have a label that uses markup pango, and so my label has a certain font with certain size. Now, I want the text that is entered i

Re: [pygtk] Application responsiveness problem (advanced)

2005-03-30 Thread László Monda
On Sat, 2005-03-26 at 08:04 -0500, John (J5) Palmieri wrote: > On Sat, 2005-03-26 at 06:46 -0600, Skip Montanaro wrote: > > László> I want to make my application very responsive under high load. > > ... > > László> As you can see, I want to pulse a progress bar while a long > > Lás

[pygtk] Re: reading gdk.PixBuf data without using pygtk?

2005-03-30 Thread David Hugh-Jones
Hi Danny Thanks for your reply - for some reason my mail client buried it so I just found it by chance on Google! I am doing quite well writing a bmp header, and can get something recognizably like the string I pass in from gtk.gdk.Pixbuf.get_pixels() . My problem is that the colours are screwed

Re: [pygtk] Re: reading gdk.PixBuf data without using pygtk?

2005-03-30 Thread Dave Aitel
That's cool. Is this in the faq? We should probably add this whole thread into it if it's not. I'm writing a pyGTK chapter for a new book as we speak, so I'll make sure to add it there at least. :> -dave Guillaume Proux wrote: To do a ImageGrab in Windows only, you can also use the following: In

Re: [pygtk] Re: reading gdk.PixBuf data without using pygtk?

2005-03-30 Thread Guillaume Proux
To do a ImageGrab in Windows only, you can also use the following: Install PIL (from effbot) screengrab = ImageGrab.grab() done ! Guillaume Dave Aitel wrote: This is some more, even more horrible, code for handling windows screengrabs. (In CANVAS we grab screenshots using a little proglet we inje

Re: [pygtk] Re: reading gdk.PixBuf data without using pygtk?

2005-03-30 Thread Dave Aitel
This is some more, even more horrible, code for handling windows screengrabs. (In CANVAS we grab screenshots using a little proglet we inject into a remote process, but it does sound similar to what you're doing here.) You can view resultant images like so, under Linux: self.log(

[pygtk] Re: reading gdk.PixBuf data without using pygtk?

2005-03-30 Thread Danny Milosavljevic
Hi, Am Mittwoch, den 30.03.2005, 19:34 +0100 schrieb David Hugh-Jones: > Hi Danny > > Thanks for your reply - for some reason my mail client buried it so I > just found it by chance on Google! > > I am doing quite well writing a bmp header, and can get something > recognizably like the string I

Re: [pygtk] Re: massrotate: gtkperl => pygtk

2005-03-30 Thread Christian Robottom Reis
On Wed, Mar 30, 2005 at 05:54:07PM -0500, Deliverable Mail wrote: > about it? Googling shows some postings claiming pygtk's coverage of > GTK was less than gtkperl's, and python's was also slower to start and > run. Is it still the case? I'd be hard-pressed to answer that purely factually, but I

[pygtk] values not being refreshed in an event handler

2005-03-30 Thread Saurabh Wagh
Hey there... A very strange problem. I am designing an application to display the contents of a three dimensional data structure.( residing on server side ) It comprises of a dropdown ( combo box ) from which, the user selects the datatype and gets the objects as a list, which are displayed in a

[pygtk] Re: massrotate: gtkperl => pygtk

2005-03-30 Thread Deliverable Mail
Thanks, but I'm in fact asking for more specific ways as to how to find corresponding functions in perl and python for GTK specifically. Did anyone translate a gtkperl script to pygtk before? How did you go about it? Googling shows some postings claiming pygtk's coverage of GTK was less than gtk

Re: [pygtk] pygtk svg image problem...

2005-03-30 Thread Nikos Kouremenos
On Wed, 30 Mar 2005 15:07:22 +0500, Muhammad Ali <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I am running python 2.4 with pygtk version 2, 4, 1. I am trying to > open an svg image in a gtk.Image. I am getting the following error: > > gobject.GError: Couldn't recognize the image file format for

[pygtk] pygtk svg image problem...

2005-03-30 Thread Muhammad Ali
Hi everyone, I am running python 2.4 with pygtk version 2, 4, 1. I am trying to open an svg image in a gtk.Image. I am getting the following error: gobject.GError: Couldn't recognize the image file format for file 'E:\exp\BlueSphere\1downarrow.svg' First I tried with the set_from_file method of