[pygtk] python-gtkhtml module

2009-01-30 Thread ganesh gajare
Hello, Can anyone tell how to use python-gtkhtml for in pygtk and glade to allow html text rendering and writing. If someone can provide example,will be helpgfull for me. Regards, Dragger, if you can't conivince, confuse them ___ pygtk mailing list

Re: [pygtk] Scrolling to the previous position in a TreeView

2009-01-30 Thread Lionel Dricot
Thanks for the reply. I've tested, without success, the self.treeview.get_vadjustment().set_value(value). Maybe, indeed, I should add a small delay. I will test that but I don't understand why it would change something. Is there a reason why it doesn't work without a delay ? On Fri, Jan 30,

Re: [pygtk] Scrolling to the previous position in a TreeView

2009-01-30 Thread Lionel Dricot
So it works with : gobject.timeout_add(100, self.task_tview.get_vadjustment().set_value,vscroll_value) The problem is that the delay is very noticable ! You see the content jumping up and down and it's really ugly. A smaller delay (10) doesn't work at all. 50 works but I believe that it might

Re: [pygtk] Scrolling to the previous position in a TreeView

2009-01-30 Thread Walter Leibbrandt
Hi, Lionel Dricot wrote: So it works with : gobject.timeout_add(100, self.task_tview.get_vadjustment().set_value,vscroll_value) The problem is that the delay is very noticable ! You see the content jumping up and down and it's really ugly. A smaller delay (10) doesn't work at all. 50

Re: [pygtk] Scrolling to the previous position in a TreeView

2009-01-30 Thread Lionel Dricot
On Fri, Jan 30, 2009 at 11:06 AM, Walter Leibbrandt wal...@translate.org.za wrote: Hi, Lionel Dricot wrote: So it works with : gobject.timeout_add(100, self.task_tview.get_vadjustment().set_value,vscroll_value) The problem is that the delay is very noticable ! You see the content

Re: [pygtk] Scrolling to the previous position in a TreeView

2009-01-30 Thread Walter Leibbrandt
Hi, Lionel Dricot wrote: I perfectly agree. That's why I'm not satisfied with this solution. But, at least, it works and I prefer having an ugly working code than a non functionnal software. Looks like I didn't succeed in saying what I wanted to say (I seem to do that a lot :/). The reason

[pygtk] gtk.label + wrapping

2009-01-30 Thread Yann Leboulanger
Hi guys, I have a gtk.Label, filled with a long text. I enabled wrap on this label, so that text is splitted into several lines. The problem is that when I increase window width, the wrapping is not re-computed. I tried to set_line_wrap() to False then True every 2 seconds, but still it's not

[pygtk] Introduction to gobject signals and threads

2009-01-30 Thread Lionel Dricot
Hello, For once, I don't have any problem and I don't need any help. ;-) It tooks me some time to understand how to use correctly gobject signals and I wrote a little introduction to signals and threads in python : http://ploum.frimouvy.org/?202-the-signals-and-threads-flying-circus I hope it