On Fri, 15 Oct 2004 01:14:06 +1000, Le phan Anh <[EMAIL PROTECTED]> wrote: > Hi all, > > Have anyone got experience using this type when creating a PropDialog? I > am using it to open up a new window ( I do my own things on that window > and update the Dia object later on) > > The hard thing is that just a copy of Dia object is passed to the event > handler of PROP_TYPE_BUTTON, so the question is how to update the > original one correctly
It's been quite a while since I worked on the PROP_BUTTON. I assume you've looked at the (commented out) example in SADT/annotation.c? AFAIR, the object doesn't get copied, only the attribute list. Are you checking the object pointers to see that it is indeed a separate 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
