[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Windows fires SelectionEvent on tree.setSelection

Well Modify is the ONLY Exception from this :-) I think the reasons is that it is used to verify input which can come from copy and past actions.

Tom

Fabian Zeindl schrieb:
*shrug* I thought so. Unfortunately I cannot really narrow it.

Another question: When I do text.setText the textwidget fires a ModifyEvent, isn't that the same situation?

fabian

Tom Schindl schrieb:
It is a bug if SWT fires a SelectionEvent when setting a selection programmatically!

Tom

Fabian Zeindl schrieb:
Hi,
for some unknown reason Win32 fires a SelectionEvent when I do tree.setSelection(TreeItem item) where gnu/linux doesn't fire one.
Is there a reason for this behaviour? Funnily enough, when I change the code to be simpler, Windows doesn't fire an event on setSelection.
Is this an SWT-Bug?


thanks in advance
fabian




--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl                                          JFace-Committer
--------------------------------------------------------------------