How events get propagated? [message #450362] |
Thu, 10 February 2005 20:20 |
Eclipse User |
|
|
|
Originally posted by: makmingchi.yahoo.com
I am studying the SWT code and try to understand how the event get
propagted on SWT/GTK layers.
There is a sendEvent(int) in Widget which is called by different classes,
like Shell, Control to ack listeners when a event happen. However, who
actually call these methods and pass the event to SWT:
Control.event(int), Shell.ShellEvent(), Display.sendEvent() ??
thanks
Stephen
|
|
|
|
Re: How events get propagated? [message #450367 is a reply to message #450364] |
Thu, 10 February 2005 21:17 |
Eclipse User |
|
|
|
Originally posted by: makmingchi.yahoo.com
I tried and nothing shows up with gtk_
thanks
Stephen
Charlie Surface wrote:
> Check out the "Open Call Hierarchy" feature to trace these calls back to
> their source. Once you find a method with "gtk_" at the front, you
> have found the native callback which is made to send the event from GTK
> to Java.
> Charlie
> Stephen Mak wrote:
>> I am studying the SWT code and try to understand how the event get
>> propagted on SWT/GTK layers.
>> There is a sendEvent(int) in Widget which is called by different
>> classes, like Shell, Control to ack listeners when a event happen.
>> However, who actually call these methods and pass the event to SWT:
>> Control.event(int), Shell.ShellEvent(), Display.sendEvent() ??
>>
>> thanks
>>
>> Stephen
>>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04041 seconds