PDA

View Full Version : ComboBox and ListStore generics



zaccret
21 May 2008, 11:27 PM
For a ComboBox, wouldn't it be a good idea to have a Data generic consistent with the Store M generic ? In other words, we would have, in ComboBox class :

public void setStore(ListStore<Data> store)
public Data getSelectedRecord()
public ListStore<Data> getStore()

darrellmeyer
22 May 2008, 7:42 AM
That change is already in SVN. Thanks.

zaccret
22 May 2008, 7:45 AM
Ok. Thanks to you. =D>