To: discussions about usage and development of dia <dia-list gnome org>
Subject: Re: How to use PROP_TYPE_BUTTON?
Date: Thu, 14 Oct 2004 22:25:19 +0200
On Fri, 15 Oct 2004 01:14:06 +1000, Le phan Anh
<phanl csse monash edu au> 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