select item in the gallery widget [message #595887] |
Sun, 09 August 2009 14:46 |
Eclipse User |
|
|
|
Originally posted by: vicenterg.arrakis.es
Hello!
I'm spanish developer and i'm including the gallery widget in my program.
The problem i have is that i don't know how can i select an item
programmatically.
I've added a selectionListener and when i click on a item , does right.
But now i fill the gallery with 40 photos, and i don't know how can i
tell to the program "select and highlight the last one, for example".
I've tried with setSelection, but can't do that.
In a SWT table, i use select(int itemNumber) and after
"notifyListener(SWT.Selection...)", but with the gallery widget i don't
know how to make it!!!.
Can you help me...???
And thanks for your help!!!
|
|
|
Powered by
FUDForum. Page generated in 0.02359 seconds