(Lars pinged me; I'm having finger-keyboard connectivity problems these
days -- not medical, just that I can't move keys 520km away from my
fingertips. Oh, and time availability: if someone knows how to stretch 24
hours into 36 without bouncing into Einstein's theory issues, I'm all ears)

Le Fri, Oct 15, 2004, à 01:14:06AM +1000, Le phan Anh a �crit:
> 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

You should not update the original one; if you did, you'd slip under the
undo mechanism (which, for stdprop objects, works using lists of property 
values).

If your object's state can be completely described using a list of property
values (which, as a stdprop object, should be the case), then it should not
matter that the specific object instance changed. What are you trying to do
exactly? 

        -- Cyrille

-- 
_______________________________________________
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