On Tue, 2006-08-01 at 17:35 +0200, lidiriel wrote:
> Hello,
> 
> for a plugin  :
> I must know those 2 objects which are connected to a begin and the end 
> point of a line. For information the connection point of the line is not 
> use.
> How I made this ?

You look at the endpoint_handles array defined in lib/connection.h (of
which line is a subclass).  Each Handle object contains a
ConnectionPoint that if non-null it is connected to, out of which you
can grab the object.

-Lars

_______________________________________________
Dia-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia

Reply via email to