Hi all...
I would ask your help to solve the same problem as topic's one, but I haven't success with shown solution.
I'm using tck8.4.19 for ns2 under cygwin... but when simple.tcl should start nam I get the error:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."
I modified my tkBind in tk8.4.19/generic as suggested and here is my changed piece:
/* ColormapNotify */ COLORMAP,
/* ClientMessage */ 0,
/* MappingNotify */ 0,
#ifdef GenericEvent
/* GenericEvent */ 0,
#endif
/* VirtualEvent */ VIRTUAL,
/* Activate */ ACTIVATE,
/* Deactivate */ ACTIVATE,
/* MouseWheel */ KEY
I run ./configure and make again as follows
Rose@NB-ROSE /usr/local/tk8.4.19/unix
$ ./configure --disable-load --with-tcl=../../tcl8.4.19/unix
Rose@NB-ROSE /usr/local/tk8.4.19/unix
$ make
but my error isn't getting solved
where am I in error?
I'm newbie to cygwin, ns and tk so any suggestion would be appreciated :-)
Thanks in advance!