Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to receive notification that the widget is created
How to receive notification that the widget is created [message #894690] Tue, 10 July 2012 07:22 Go to next message
Janusz Dalecki is currently offline Janusz DaleckiFriend
Messages: 63
Registered: January 2010
Location: Sydney
Member
Hi,
I was wondering how can I receive notification that the widget (Canvas) is created first time. I just want to be notified only once when the widget is visually created.
Is there a way to do that?
Regards,
Janusz
Re: How to receive notification that the widget is created [message #894948 is a reply to message #894690] Wed, 11 July 2012 08:40 Go to previous messageGo to next message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi,

what about SWT.Activate event?

[Updated on: Wed, 11 July 2012 08:44]

Report message to a moderator

Re: How to receive notification that the widget is created [message #894974 is a reply to message #894690] Wed, 11 July 2012 10:03 Go to previous messageGo to next message
Lakshmi P ShanmugamFriend
Messages: 279
Registered: July 2009
Location: India
Senior Member
Hi,
You can try the SWT.Paint event and remove the listener after the first notification.


Lakshmi P Shanmugam
Re: How to receive notification that the widget is created [message #895197 is a reply to message #894974] Thu, 12 July 2012 02:01 Go to previous message
Janusz Dalecki is currently offline Janusz DaleckiFriend
Messages: 63
Registered: January 2010
Location: Sydney
Member
Thanks Guys, I will give it a go.
Janusz
Previous Topic:CTRL+Backspace and CTRL+Delete not working in aText Editor
Next Topic:SWT_AWT frame problem
Goto Forum:
  


Current Time: Fri Mar 29 14:11:25 GMT 2024

Powered by FUDForum. Page generated in 0.02436 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top