Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to detected when a new child is added to a Composite parent?  RSS feed

 
Jaime Lee
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Could anyone please help me out on this? I am trying to figure out a way of detecting whenever a child is added to a SWT Composite parent.

Any suggestions please?

THanks
 
Rob Spoor
Sheriff
Posts: 21092
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know much about SWT, but in Swing there is java.awt.event.ContainerListener that can be triggered about child addition or removal. Perhaps there is something similar in SWT?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!