Re: Get current canvas position



On Mon, 2008-10-13 at 14:57 +0200, Till Harbaum / Lists wrote:

> > zoomed right out and placed somewhere in the middle of the allocated
> > space).
> How can this happen? If i zoom far out the canvas always sticks to the upper
> left corner. I'd actually prefer it to be centered once it's smaller than the 
> available screen space. How can i achieve that?

Set the GooCanvas "anchor" property to GTK_ANCHOR_CENTER. (See the main
page of the demo.)

Damon




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