Changes between Initial Version and Version 1 of Ticket #1163

Show
Ignore:
Timestamp:
04/24/09 16:41:52 (6 years ago)
Author:
axel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1163 – description

    initial v1  
    11Hi. I'm not totally sure what I'm talking about, but it seems to me that the return type of treeModelSortGetModel should be TypedTreeModelClass a rather than a generic TreeModel. 
    22 
     3{{{ 
    34treeModelSortNewWithModel :: (TreeModelClass (childModel row), TypedTreeModelClass childModel) => childModel row -> IO (TypedTreeModelSort row) 
     5}}} 
     6 
    47Creates a new TreeModelSort, that will be a sorted view of the given model. 
    58Methods 
    69 
    7  
     10{{{ 
    811treeModelSortGetModel :: TreeModelSortClass self => self -> IO TreeModel 
     12}}} 
    913Returns the underlying model the TreeModelSort is sorting.  
    1014 
     
    1216I'm having problems getting the currently selected row. 
    1317 
     18{{{ 
    1419showSelectedProgramme ref = do 
    1520  xml <- liftM stXML $ readIORef ref 
     
    2833          p <- MV.treeModelGetRow rawmodel cIter 
    2934          displayProgrammeDetail ref p 
     35}}} 
    3036 
    3137(where ref is an IORef) 
    3238 
    33 The following line is erroring 'p <- MV.treeModelGetRow rawmodel cIter' since there doesn't seem to be a way of converting rawmodel to a typed ListStore. 
     39The following line is erroring {{{p <- MV.treeModelGetRow rawmodel cIter}}} since there doesn't seem to be a way of converting rawmodel to a typed ListStore.