Re: goo_canvas_polyline_new_line dynamic move



On Fri, 2010-02-05 at 00:30 +0100, Jonathan Armani wrote:
> Hi,
> 
> I have two item "connected" with a goo_canvas_polyline_new_line and I want
> it to follow when moving one of the two connected item.
> 
> I have tried multiple signals but it doesn't work.
> 
> (I will have multiple connected item in the future, item1 <--- polyline --
> item2 --- polyline --> item3).

I use polylines between items in SynthForge:
  http://sourceforge.net/projects/synthforge/
Look at the second screenshot - it does exactly what you are doing, i.e.
when you drag items around the polylines move with them. (Unfortunately
the code is a bit complicated so might not help much.)

Where is your code going wrong? Do you get the button press events? the
motion events? It helps if you send a complete test app that is supposed
to work.

Damon




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