Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Remove PaintListener in SWT(How to remove PaintListener after the 1st notification.)
Remove PaintListener in SWT [message #533351] Thu, 13 May 2010 13:43
vrush Mising nameFriend
Messages: 51
Registered: July 2009
Location: Pune
Member
Hi,

I have added paintListener to canvas so that I can capture event.gc and change the image.
I need a way to remove the listener after 1st notification.
I have added paintListener in canvas constructor. Tried removePaintlistener but it does not seem to be working.

Am I missing anything here? Badly stuck.
Any pointers, help, suggestion would be great.

Thanks in advance,
Vrushali.
Previous Topic:UI layout suggestions
Next Topic:Automatically resize multi-line Text widget to match # of rows
Goto Forum:
  


Current Time: Sun Aug 25 11:00:45 GMT 2019

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

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

Back to the top