On Wed, Aug 04, 2004 at 09:48:15AM -0300, Christian Robottom Reis wrote: > On Wed, Aug 04, 2004 at 07:42:51AM +0200, Johannes Zellner wrote: > > is there something like gimp's canvas (scrollable drawingarea with rulers > > which scroll simulaneously with the drawingarea) for pygtk? -- maybe as > > code sample? > > There's a DrawingArea widget: > > http://www.pygtk.org/pygtk2tutorial/ch-DrawingArea.html > > I'm not sure about the rulers, though. You'll probably need to cook that > up yourself.
the rulers ARE the difficult part! w/o any rulers, it's easy. The painful thing is to size and scroll the rulers simulaneously with the drawingarea (which can be placed inside a scrolledwindow). -- Johannes _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/