MathGroup Archive 2009

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

Search the Archive

Re: Toolbar

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105657] Re: [mg105645] Toolbar
  • From: Adam Griffith <adamg at wolfram.com>
  • Date: Mon, 14 Dec 2009 00:05:43 -0500 (EST)
  • References: <200912131038.FAA21128@smc.vnet.net>

Hi Istvan,

DockedCells can do this. For example:

CreateWindow[
 DockedCells ->
  Cell[BoxData[
    ToBoxes[Grid[{{Item[
         Style["Evaluation Tools:", FontFamily -> "Helvetica", 12,
          Bold], Alignment -> Left],
        Item[ButtonBar[{Style["Delete All Output", 10] :>
            FrontEndTokenExecute["DeleteGeneratedCells"],
           Style["Interrupt Evaluation", 10] :>
            FrontEndTokenExecute["EvaluatorInterrupt"],
           Style["Abort Evaluation", 10] :>
            FrontEndTokenExecute["EvaluatorAbort"]}],
         Alignment -> Right]}},
      ItemSize -> {{Scaled[0.3], Scaled[0.7]}}]]], "DockedCell",
   Background -> RGBColor[1, 0.991791, 0.866468]]]


-Adam

István wrote:
> Dear All,
>
> Is it just me or others as well would appreciate a toolbar in Mathematica?
> I've missed it at the first time I've encountered Mathematica 4, but, since
> then, I've simply got used to the routine to kill the kernel or delete all
> output using key-combinations. I wonder why there is no useful toolbar at
> all, with these functionalities, and perhaps more. This is a must for all
> interactive interfaces from decades now.  Palettes are good, but actually
> I never use them, knowing how to access characters and code. And even if
> I write a palette to sport the buttons "Kill kernel", "Delete output", I
> cannot dock it in the main window, below the file menu. For me it seems
> so obvious to have a toolbar, but I don't remember seeing any info or post
> about it in the group. Am I missing something here?
>
> Istvan
>   


  • References:
    • Toolbar
      • From: István <replicatorzed@gmail.com>
  • Prev by Date: Finding simplest Fourier series between two given Fourier series
  • Next by Date: Re: Toolbar
  • Previous by thread: Toolbar
  • Next by thread: Re: Toolbar