Re: canvas widget resize



On Fri, 2011-03-18 at 15:03 +0100, control H wrote:
> Hi I'm experimenting with goocanvas (2.0). For my application I don't
> put the canvas inside a scrolled window but inside a vbox. The problem
> arises that when I connect to a 'configure-event' signal I don't
> receive anything. So how can I change the canvas size and redraw some
> item myself as soon as the vbox resizes?

Try using the "size-allocate" signal, with g_signal_connect_after().
That should work.

Damon




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