Re: set coordinate system in canvas?

On 15 May 2001 17:43:30 -0400, Timothy H. Keitt wrote:
> I've been experimenting with the gnome canvas using the pygnome 
> interface.  I'm wondering if there is a way to define the coordinate 
> system for the canvas.  I want to create a canvas of a certain size, and 
> then say that the left edge is x = -180, the right edge is x = 180, the 
> upper edge is y = 90 and so on.  Newly placed items should conform t 
> this coordinate system.  Setting the scroll region does not seem to help 
> here. Thanks.

Have you put the canvas into a scrolled window?
I have vague recollections of it not respecting the scroll region
without it.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]