Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » event between display and system?
event between display and system? [message #453219] Thu, 31 March 2005 22:16 Go to next message
Eclipse UserFriend
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 07:54 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 02:50:50 EDT 2025

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

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

Back to the top