MathGroup Archive 2012

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

Search the Archive

Re: How to create palette buttons with tooltips?

  • To: mathgroup at
  • Subject: [mg124173] Re: How to create palette buttons with tooltips?
  • From: John Fultz <jfultz at>
  • Date: Wed, 11 Jan 2012 17:20:58 -0500 (EST)
  • Delivered-to:
  • Reply-to: jfultz at

The tooltip option can easily be migrated to the notebook level, where it'll
affect everything in the notebook:

 Tooltip[Button["Button", Appearance -> "Palette"], "Tooltip"], 
 TooltipBoxOptions -> {TooltipDelay -> Automatic}]

Unfortunately, Button's Appearance option cannot benefit from a similar 
treatment because Button[], by default, hardcodes the value of 
ButtonBoxOptions->{Appearance->Automatic} at the ButtonBox level, which 
overrides anything specified at the notebook level (there has been discussion 
about changing this in future versions).

I would suggest just making a function called PaletteButton which creates a
Button with the right options.


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

On Wed, 11 Jan 2012 06:00:43 -0500 (EST), Szabolcs wrote:
> What is the most convenient way to create palette buttons with tooltips
> that use the OS-wide tooltip delay?
> Currently I am using
> CreatePalette@
> Tooltip[Button["Button", Appearance -> "Palette"], "Tooltip",
> TooltipDelay -> Automatic]
> But this seems like a lot of work (both TooltipDelay -> Automatic and
> Appearance -> "Palette" needed) just to get the behvaiour which could be
> expected as a default from a palette.
> When I have several buttons, what's the simplest and most concise way to
> do this?

  • Prev by Date: Re: select 1st column element based on criteria in 2nd column in mathematica
  • Next by Date: Re: Is it possible to flatten hash table?
  • Previous by thread: Re: How to create palette buttons with tooltips?
  • Next by thread: take square of the second and third column of a table