[Wnd-commit] wnd/wnd/custom/dirlist __init__.py,1.1,1.2 dl_listfiles.py,1.1,1.2
Status: Alpha
Brought to you by:
jurner
|
From: jürgen u. <cer...@us...> - 2005-07-23 19:25:56
|
Update of /cvsroot/wnd/wnd/wnd/custom/dirlist In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30113 Modified Files: __init__.py dl_listfiles.py Log Message: bit of this and a bit of that Index: dl_listfiles.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/custom/dirlist/dl_listfiles.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dl_listfiles.py 2 Jul 2005 09:08:44 -0000 1.1 --- dl_listfiles.py 23 Jul 2005 19:25:45 -0000 1.2 *************** *** 259,262 **** --- 259,265 ---- + def GetSortType(self): + return self.sorttype, self.sortdirection + def PidlGetData(self, pIdl, attrs): *************** *** 552,556 **** def SetItems(self): ! #LVM_INSERTITEM = 4103 counter = 0 --- 555,562 ---- def SetItems(self): ! # TODO ! # custom SetItems to allow the user to set the items to the view ! ! #LVM_INSERTITEM = 4103 counter = 0 Index: __init__.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/custom/dirlist/__init__.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** __init__.py 2 Jul 2005 09:08:44 -0000 1.1 --- __init__.py 23 Jul 2005 19:25:45 -0000 1.2 *************** *** 106,109 **** --- 106,115 ---- + def SortBy(self, sorttype='type', direction='ascending'): + self._custom_Mainframe.FileLister.SetSortType(sorttype, direction) + + def GetSortBy(self): + return self._custom_Mainframe.FileLister.GetSortType() + def AllowNavigate(self, Bool, hideheader=False): return self._custom_Mainframe.FileLister.AllowNavigate(Bool, hideheader) |