[pygtk] pdf display in notebook

2005-08-24 Thread dimitri pater
Hello, in my app I create a report in the PDF format with reportlab (http://www.reportlab.org/) depending on the user's input and various barcharts created with matplotlib. All works pretty well. The app consists of a notebook, on one of those pages of the notebook I want to display this PDF file

Re: [pygtk] pdf display in notebook

2005-08-24 Thread dimitri pater
Thanks, I will take a look at it btw the right url is http://poppler.freedesktop.org/ , http://poppler.sourceforge.net , returned an error. thanks, dimitriOn 8/24/05, Johan Dahlin [EMAIL PROTECTED] wrote: in my app I create a report in the PDF format with reportlab ( http://www.reportlab.org/)

[pygtk] progress bar question

2005-08-21 Thread dimitri pater
Hi, I am having trouble finding the right way to implement a progress bar. The code below doesn't work. It actually works the other way around, the progress bar stops when the button is clicked and continuous when the function is completed. Any suggestions? (sorry for the long list) Thanks,

Re: [Matplotlib-users] Re: [pygtk] Gtk.Notebook problem in PyGTK 2.6

2005-06-02 Thread dimitri pater
I then click on the 'graph' Tab and the 'make graph!' button and get:Traceback (most recent call last): File testMPL-GTK.py, line 55, in createProjectGraphp1 = self.axis.bar(ind, int(age), width, color='r')ValueError: invalid literal for int(): You should enter two values before creating the graph

Re: [pygtk] Pressing an gtkDialog OK button mulitple times has no effect.

2005-06-02 Thread dimitri pater
Hello, I am not sure if this helps, but this is how I check missing fields (before submitting data to a database) using a gtkDialog: def submitDB(self, widget): while True: try: name = self.wTree.get_widget(entry1).get_text() age = self.wTree.get_widget(entry2).get_text()

[pygtk] Re: [Matplotlib-users] Gtk.Notebook problem in PyGTK 2.6

2005-06-02 Thread dimitri pater
Thanks to you all, this is another example how open source software works. We tend to take it for granted now, but actually... it is amazing! thanks, DimitriOn 6/3/05, John Hunter [EMAIL PROTECTED] wrote: Steve == Steve Chaplin [EMAIL PROTECTED] writes:Steve I updated backend_gtk.py in cvs to

Re: [pygtk] Pressing an gtkDialog OK button mulitple times has no effect.

2005-06-02 Thread dimitri pater
mmh, this doesn't sound very elegant, but if it works: don't break it. Maybe someone comes up with a better solution. I'm pretty new to PyGtk myself to be honest. greetz, DimitriOn 6/3/05, Mark Cooke [EMAIL PROTECTED] wrote: The way I have got it to work(and this is probaly completely wrong and

Re: [Matplotlib-users] Re: [pygtk] Gtk.Notebook problem in PyGTK 2.6

2005-06-01 Thread dimitri pater
I made a small test app which clearly shows that Matplotlib 0.8 and PyGTK 2.6 don't work well together. No problem in PyGTK 2.4 bye, DimtiriOn 6/1/05, N. Volbers [EMAIL PROTECTED] wrote: dimitri pater schrieb: Yes, this could could very well be a matplotlib issue. I will try to do some tests

Re: [pygtk] Gtk.Notebook problem in PyGTK 2.6

2005-05-31 Thread dimitri pater
list in case anyone can throw some light on this. John dimitri pater wrote: Hello, I upgraded to PyGTK 2.6 from 2.4 . Now, when I switch from page 2 on a Gtk.Notebook back to page 1, page 1 still shows some elements from page 2 (it is not refreshed, just some parts). Both pages contain graphs

[pygtk] Gtk.Notebook problem in PyGTK 2.6

2005-05-30 Thread dimitri pater
Hello, I upgraded to PyGTK 2.6 from 2.4 . Now, when I switch from page 2 on a Gtk.Notebook back to page 1, page 1 still shows some elements from page 2 (it is not refreshed, just some parts). Both pages contain graphs created with Matplotlib. I never had problems like this with 2.4... Any clues