1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-23 12:13:31 +01:00

- Fixed some issues with WMBrowser and the file panel that were

introduced by the latest changes in the WMList code (multiple and empty
  selection).
- added WMSetBrowserAllowMultipleSelection(), WMSetBrowserAllowEmptySelection()
  WMBrowserAllowsMultipleSelection() and WMBrowserAllowsEmptySelection().
This commit is contained in:
dan
2000-10-02 06:59:18 +00:00
parent b2478b634f
commit de99155948
6 changed files with 98 additions and 30 deletions

View File

@@ -1152,6 +1152,10 @@ extern char *WMListSelectionDidChangeNotification;
WMBrowser *WMCreateBrowser(WMWidget *parent);
void WMSetBrowserAllowMultipleSelection(WMBrowser *bPtr, Bool flag);
void WMSetBrowserAllowEmptySelection(WMBrowser *bPtr, Bool flag);
void WMSetBrowserPathSeparator(WMBrowser *bPtr, char *separator);
void WMSetBrowserTitled(WMBrowser *bPtr, Bool flag);
@@ -1176,9 +1180,9 @@ void WMSortBrowserColumnWithComparer(WMBrowser *bPtr, int column,
/* Don't free the returned string. */
char* WMSetBrowserPath(WMBrowser *bPtr, char *path);
/* you can free the returned string */
/* free the returned string */
char *WMGetBrowserPath(WMBrowser *bPtr);
/* you can free the returned string */
/* free the returned string */
char *WMGetBrowserPathToColumn(WMBrowser *bPtr, int column);
void WMSetBrowserAction(WMBrowser *bPtr, WMAction *action, void *clientData);
@@ -1202,6 +1206,11 @@ WMList *WMGetBrowserListInColumn(WMBrowser *bPtr, int column);
void WMSetBrowserDelegate(WMBrowser *bPtr, WMBrowserDelegate *delegate);
Bool WMBrowserAllowsMultipleSelection(WMBrowser *bPtr);
Bool WMBrowserAllowsEmptySelection(WMBrowser *bPtr);
/* ....................................................................... */