DOCUMENTATION CENTER SEARCH
Mathematica
>
Control Objects
>
Built-in
Mathematica
Symbol
Introduction to Dynamic
Generalized Input
Tutorials »
|
Button
NotebookApply
Hyperlink
See Also »
|
Control Objects
Custom Interface Construction
Palettes
More About »
PasteButton
PasteButton
[
expr
]
represents a button that pastes
expr
whenever it is pressed.
PasteButton
[
label
,
expr
]
displays with
label
on the button.
MORE INFORMATION
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.
Selection placeholders are represented by the character
or
\[SelectionPlaceholder]
.
label
can be any expression.
PasteButton
takes the same options as
Button
.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Create a button that will paste its contents:
In[1]:=
Out[1]=
Supply a different label:
In[1]:=
Out[1]=
Scope
(2)
Options
(13)
Applications
(1)
Properties & Relations
(2)
Possible Issues
(1)
SEE ALSO
Button
NotebookApply
Hyperlink
TUTORIALS
Introduction to Dynamic
Generalized Input
MORE ABOUT
Control Objects
Custom Interface Construction
Palettes
New in 6
© 2008 Wolfram Research, Inc.