Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: CreatePalette -> make palette inherit notebook's kernel

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111439] Re: CreatePalette -> make palette inherit notebook's kernel
  • From: John Fultz <jfultz at wolfram.com>
  • Date: Sun, 1 Aug 2010 04:58:07 -0400 (EDT)

On Sat, 31 Jul 2010 02:42:25 -0400 (EDT), Szabolcs Horv=E1t wrote:
> Hello MathGroup,
>
> I'm using a palette to display some information dynamically.  It is
> created using CreatePalette[].  What is the correct/easiest way to make
> the palette inherit the original notebook's (from where CreatePalette[]
> is evaluated) kernel in case the notebook was not using the default
> kernel?
>
> -- Szabolcs

CreatePalette[..., Evaluator->CurrentValue[EvaluationNotebook[],Evaluator]]

Sincerely,

John Fultz
jfultz at wolfram.com
User Interface Group
Wolfram Research, Inc.


  • Prev by Date: Re: Kernels dying on parallel code
  • Next by Date: CounterBox[] & CounterFunction[] & DingBat
  • Previous by thread: Re: Kernels dying on parallel code
  • Next by thread: CounterBox[] & CounterFunction[] & DingBat