Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13996

Re: Change Tooltip on Google Network Graph

From debguy <johnandsara2@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Change Tooltip on Google Network Graph
Date 2013-04-01 04:57 +0000
Message-ID <kjb44a$8k8$1@smc.vnet.net> (permalink)
References <khsbbf$364$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


i haven't upgraded to 9 yet but let me ask

x=Tooltip[expr, label]

is pretty simple: it assigns label to "hotspot" of expr.  if you want
label changed Evaluate x with different label.

Possibly you can use an expr instead of label that returns a label in
place of label: but only if tooltip evaluates it on every mouse-over -
you'd have to try it.  it might not evaluate every mouse-over.

I think Mathematica 9 does have mouse-event callbacks which would allow you to
show any kinda (button box) for you choice of mouse event.  Doesn't
it?

it's new in Mathematica 9 to bother with exposing mouse events for a given
window area (or touch events, same thing) (Mathematica had buttons before).
but it's old news as X windows (like from the 1970's old) MOUSE_CLICK
is one origional string (and still, copied by everyone incl.
microsoft)

in X one can listen in on mouse events and do whatever.  I doubt
that's needed though.

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Change Tooltip on Google Network Graph s6savahd@googlemail.com - 2013-03-14 11:12 +0000
  Re: Change Tooltip on Google Network Graph debguy <johnandsara2@cox.net> - 2013-04-01 04:57 +0000

csiph-web