mouse-event and list-panel

Guiserver, GTK-server, OpenGL, PostScript,
HTML 5, MIDI, IDE
Locked
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

mouse-event and list-panel

Post by newdep »

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.
-- (define? (Cornflakes))

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

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

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

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.
-- (define? (Cornflakes))

Locked