newLISP Fan Club

Forum => newLISP Graphics & Sound => Topic started by: newdep on December 14, 2007, 12:32:25 AM

Title: mouse-event and list-panel
Post by: newdep on December 14, 2007, 12:32:25 AM
Hi Lutz,



the mouse-event does work on the list-panel (thanks! ;-)



But I dont seem to be able to get the Item from the list-panel

using mouse-event..Im unable to link between the output of mouse-event

and the ID of list-panel items.. Any hint?



Norman.
Title:
Post by: Lutz on December 14, 2007, 05:00:37 AM
In version guiserver 1.10 the listbox event will get fired on any click-count, not only on double click. Additionally the click-count is added as the last parameter in the listbox event to distinguish if necessary.



The general mouse-event for the listbox will stay as it is useful for other things, i.e. color change of the background on mouse press, etc.



Guiserver v.1.10 is available here: http://newlisp.org/downloads/development/



rename guiserver.jar-110 to guiserver.jar and put into /usr/share/newlisp



Lutz
Title:
Post by: newdep on December 14, 2007, 06:19:41 AM
very nice..



nlist.lsp now uses this too..(in v 0.9)

1 click is content info from the list-panel (no load)

2 clicks loads the content..



Norman.