Hi Noura,
You can use a property listener, which will wait until the property
changes and call a function of your choice.
MITK use this concept in their code. Type
git grep "|itk::MemberCommand|"
in MITK's root folder and you will have plenty of examples.
Le 2015-01-27 04:55, Noura Hamzé a écrit :
Dear mitk users,
Let say i have a "parent" mitkDataTreeNode *PNode*
and *n *"child" mitkDataTreeNode *[CNode_1, CNode_2, .... , CNode_n]*
When i toggle the visibility of *PNode* (in runtime) i wish that the
child nodes toggle their visibility as their parent without need to
click on n nodes in the DataStorage list to show/hide them.
Any hint ?
Thanks in advance,
Noura
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users