Community
Participate
Working Groups
- create a non-simple CTabFolder with some tabs - add a listener like the following: folder.addListener(SWT.MouseDown, new Listener() { public void handleEvent(Event event) { CTabItem item = folder.getItem(new Point(event.x, event.y)); if (item != null) { System.out.println("Clicked on " + item.getText()); } } }); - notice that CTabFolder.getItem() returns the currently-selected tab when you click above its curve, which seems wrong. If CTabFolder is going to provide this API then it should be more helpful than just iterating through the items asking each for its rectangular bounds (at least in the non-simple CTabFolder case).
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.