MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mouse focus in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90217] Re: Mouse focus in Mathematica
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Wed, 2 Jul 2008 05:32:46 -0400 (EDT)
  • References: <g47l18$t59$1@smc.vnet.net> <200806300853.EAA09186@smc.vnet.net>

Well, for  example,in the case of the code I posted,

SetOptions[nb
 NotebookEventActions -> {}]

And similar in Maxim's case...


As for the menu...  there is only so much real estate in the standard
menus.  But of course on can create whatever one wants through
interface elements such as palettes and so on.

--David




On Jul 1, 7:00 am, Murray Eisenberg <mur... at math.umass.edu> wrote:
> What expression, then, would UNDO that action?
>
> I would find the behavior initiated by the posted code very useful all
> those times when I start typing an expression and realize that I forgot
> to select the open notebook in which I really wanted to put it.  But
> sometimes I want to be sure I do not jump to another notebook like that.
>
> Menu items, even on a palette, for the action and its reversal would be
> handy.
>
>
>
> m... at inbox.ru wrote:
> > On Jun 29, 4:35 am, Bob F <deepyog... at gmail.com> wrote:
> >> Is there a way to put Mathematica 6.0 in a mode where focus follows
> >> the mouse cursor location without clicking in the window on Mac OS X
> >> 10.4.11? Thanks...
>
> >> -Bob
>
> > You can try rolling your own:
>
> > SetOptions[$FrontEndSession (*nonpersistent*),
> >  NotebookEventActions -> {"MouseMoved" :>
> >     If[SelectedNotebook[] =!= EvaluationNotebook[],
> >      SetSelectedNotebook[EvaluationNotebook[]]],
> >    PassEventsDown -> True}]
>
> > Maxim Rytin
> > m... at inbox.ru
>
> --
> Murray Eisenberg                     mur... at math.umas=
s.edu
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower      phone 413 549-1020 (H)
> University of Massachusetts                413 545-2859 (=
W)
> 710 North Pleasant Street            fax   413 545-1801
> Amherst, MA 01003-9305



  • Prev by Date: Re: Draw two functions in a graph, one of them does also
  • Next by Date: Re: A set of several questions
  • Previous by thread: Re: Re: Mouse focus in Mathematica
  • Next by thread: Re: Bug of Units-package in combination with DynamicModule