Re: [pygtk] Writting a widget with native scrolling support

2008-10-23 Thread Laszlo Nagy
Gustavo J. A. M. Carneiro wrote: http://www.daa.com.au/pipermail/pygtk/2006-January/011668.html Yes, this was the only related post that I could find on the internet. But I could not use it for anything because it does not tell how to do it. It says: For custom widgets, check the method

Re: [pygtk] Writting a widget with native scrolling support

2008-10-23 Thread Gustavo J. A. M. Carneiro
On Thu, 2008-10-23 at 15:42 +0200, Laszlo Nagy wrote: Gustavo J. A. M. Carneiro wrote: http://www.daa.com.au/pipermail/pygtk/2006-January/011668.html Yes, this was the only related post that I could find on the internet. But I could not use it for anything because it does not tell how

Re: [pygtk] Writting a widget with native scrolling support

2008-10-21 Thread Gustavo J. A. M. Carneiro
http://www.daa.com.au/pipermail/pygtk/2006-January/011668.html On Mon, 2008-10-20 at 21:20 +0200, Laszlo Nagy wrote: I want to write an owner-drawn widget (using Cairo) with native scrolling capabilities. Let's say this widget has a get_hadjustment() and a get_vadjustment() method. Scrolling

[pygtk] Writting a widget with native scrolling support

2008-10-20 Thread Laszlo Nagy
I want to write an owner-drawn widget (using Cairo) with native scrolling capabilities. Let's say this widget has a get_hadjustment() and a get_vadjustment() method. Scrolling inside the widget is already implemented. E.g. the widget draws different things on its surface, depending on the