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:
@@ -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);
|
||||
|
||||
|
||||
/* ....................................................................... */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user