Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT Policy on listeners

There isn't one answer for all events.  For example, if the bounds are set
programatically, the resize listener is called but if a tree item is
expanded programatically the expand listener is not invoked.

The best way to find the answer is to write a simple example and run it on
Windows. Windows is the base reference point.

We had discussed documenting the behaviour but I do not think we got around
to it.



                                                                                                                                                     
                      Thomas Fletcher                                                                                                                
                      <thomasf@xxxxxxx>               To:      platform-swt-dev@xxxxxxxxxxx                                                          
                      Sent by:                        cc:                                                                                            
                      platform-swt-dev-admin@         Subject: [platform-swt-dev] SWT Policy on listeners                                            
                      eclipse.org                                                                                                                    
                                                                                                                                                     
                                                                                                                                                     
                      29/10/2002 06:46 AM                                                                                                            
                      Please respond to                                                                                                              
                      platform-swt-dev                                                                                                               
                                                                                                                                                     
                                                                                                                                                     



All,

I swear I had seen this policy written somewhere, but I can't
seem to find it anymore.  If a widget is driven programatically
will its listeners receive notification for that event?

For example if I have a combo box and I set the selected
index to something, will my widget selection listener be
notified?  I'm trying to track down what might be a photon
SWT bug, but need to know the policy on this first.

Thanks,
 Thomas
-------------------------------------------------------------
Thomas (toe-mah) Fletcher       QNX Software Systems
thomasf@xxxxxxx                 OS Technology Developer
(613)-591-0931                  http://www.qnx.com/

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev






Back to the top