From da6dff26fc8b44f942c0ce687499872cb00f5d27 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 5 Nov 2015 17:54:16 +0000 Subject: Changed Fl_Multi_Browser behaviour on the Mac OS platform so multiple selection is done by cmd-click rather than ctrl-click, as is expected on this platform. Also, updated the documentation to describe the effects of ctrl-, shift- and cmd-clicks. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10882 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Multi_Browser.H | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Multi_Browser.H b/FL/Fl_Multi_Browser.H index 0f33a3d6f..8774fd713 100644 --- a/FL/Fl_Multi_Browser.H +++ b/FL/Fl_Multi_Browser.H @@ -29,8 +29,10 @@ which lets the user select any set of the lines. The user interface is Macintosh style: clicking an item turns off all the others and selects that one, dragging selects all the items the mouse moves over, - and shift + click toggles the items. This is different then how forms - did it. Normally the callback is done when the user releases the + and ctrl + click (Cmd+click on the Mac OS platform) toggles the items. + Shift + click extends the selection until the clicked item. + This is different from how forms did it. + Normally the callback is done when the user releases the mouse, but you can change this with when().

See Fl_Browser for methods to add and remove lines from the browser. */ -- cgit v1.2.3