Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » event between display and system?
event between display and system? [message #453219] Fri, 01 April 2005 03:16 Go to next message
bbskill is currently offline bbskillFriend
Messages: 26
Registered: July 2009
Junior Member
can anyone detailly tell me how the system post a event such as keyEvent
to a
display .
I can't find it in the source of swt.
can anyone give more information about that?
Thank you very much !!
Re: event between display and system? [message #453231 is a reply to message #453219] Fri, 01 April 2005 12:54 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
See Display.post(). NOTE: This method is generally intended for GUI test
tools. If you want to run a key listener, you could try
Widget.notifyListeners(). Better yet, just call the code that is intended
to run when a key is pressed and don't use either of these methods. Good
luck!

"JinBiao Liu" <bbkills@tom.com> wrote in message
news:7ea6b87c7dbbbcc995719ee2c611f0ab$1@www.eclipse.org...
> can anyone detailly tell me how the system post a event such as keyEvent
> to a
> display .
> I can't find it in the source of swt.
> can anyone give more information about that?
> Thank you very much !!
>
Previous Topic:How to capture ENTER when a default button is defined
Next Topic:a COmposite with a Canvas on top of a OleFrame
Goto Forum:
  


Current Time: Thu Apr 25 01:28:22 GMT 2024

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

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

Back to the top