Hello Miriam,
To observe changes on the data tree, you can use these two functions:
DataEntityList::AddObserverOnAddDataEntity()
DataEntityList::AddObserverOnRemoveDataEntity()
There's an example on how to use them in the function:
DataEntityListBrowser::InitConnections( ).
However, if you need to observer changes in the rendering tree
(after the data is rendered), you need to use the function
AddObserverOnModified(). You can find an example in the function
RenderWindowBase::SetPrivateRenderingTree().
Best regards,
Xavi
2012/7/27 Ana Maria Quintero Padron <[email protected]>
>
>
>
> Hello,
>
>
>
> I need to know how to catch OnModifiedDataTree event from my widget, if it
> is posible.
>
>
>
> I mean, I need to execute a procedure each time the data tree es modified
> (after it). If this is not posible, at least, each time we add an image to
> data tree, irrespective of whether the user pressed menu.> open or if the
> data tree is modified by a CLP.
>
>
>
> Thank in advance.
>
> Miriam
>
>
>
> Miriam Quintero Padrón
>
> T +34 922 533 917
>
> [email protected]
>
> C/ Fuente de Santa Cruz, 3
>
> Edificio Ciudamar - Oficina 2º
>
> 38003 Santa Cruz de Tenerife
>
> www.atos.net
>
>
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers