Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Control Objects >

PasteButton

PasteButton[expr]
represents a button that pastes expr whenever it is pressed.
PasteButton[label, expr]
displays with label on the button.
  • expr is by default pasted at the current insertion point in your input notebook.
  • PasteButton[notebook, label, expr] pastes to the specified notebook.
  • PasteButton evaluates its arguments in an ordinary way, so that expr is immediately evaluated.
  • If expr contains a selection placeholder, it will be replaced by your current selection when the paste is done.
  • label can be any expression.
New in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team