Johannes Zellner wrote:
On Wed, Aug 04, 2004 at 10:41:52AM -0300, Christian Robottom Reis wrote:
On Wed, Aug 04, 2004 at 03:38:08PM +0200, Johannes Zellner wrote:
the rulers ARE the difficult part! w/o any rulers, it's easy.
The painful thing is to size and scroll the rulers simulaneously
w
I've written some code using rulers and scrollbars that maybe could be
useful for you:
http://inigo.katxi.org/cgi-bin/archzoom.cgi/[EMAIL
PROTECTED]/gdesklets-editor--dev--0.1--patch-4/gdesklets-desktop.py
btw, reading pygtk reference seems that rulers are deprecated...
does anyone know the re
Hi,
You should have a look at how Dia does this. It's C code alright, but it
shows exactly what you want (don't know the class to look, probably
lib/display.c). All I can remember is that it's pretty easy (in the end ;-).
Regards,
Arjan
Johannes Zellner wrote:
On Wed, Aug 04, 2004 at 10:41:52AM
On Wed, Aug 04, 2004 at 10:41:52AM -0300, Christian Robottom Reis wrote:
> On Wed, Aug 04, 2004 at 03:38:08PM +0200, Johannes Zellner wrote:
> > 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 drawingare
On Wed, Aug 04, 2004 at 03:38:08PM +0200, Johannes Zellner wrote:
> 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).
Why not put rulers and canvas i
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
> >
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/pygtk2tutor
Hi,
is there something like gimp's canvas (scrollable drawingarea with rulers
which scroll simulaneously with the drawingarea) for pygtk? -- maybe as
code sample?
--
Johannes
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/list