|
SOLUTIONS
|
MATHEMATICA 組込みシンボル
ButtonSource
ButtonSource
低レベル関数ButtonBoxのオプションとして使われ,ボタンに関連付けられたButtonFunctionの第1引数を指定する.このオプションは,アクティブなボタンがクリックされたときに有効になる.
詳細詳細
- デフォルトはButtonSource->Automaticである.
- 設定可能な指定値:
-
Automatic 設定済みのButtonDataを使用,なければ
を使用 ButtonContents ButtonBoxの第1引数 ButtonData ButtonDataオプションの設定値 Cell ボタンの帰属するセル CellContents ボタンの帰属するセルの全内容 Notebook ボタンの帰属するノートブック n ノートブック式においてボタン位置から数えて n レベル上にある式
例題例題すべて開くすべて閉じる
例 (4)例 (4)
それ自身のButtonDataを出力するボタンを作る:
| In[1]:= |
| In[1]:= |
ButtonSource->Automaticは,設定されるとボタン関数がButtonDataに作用することを意味する:
| In[1]:= |
ButtonDataが設定されていなければ,ButtonSource->Automaticはボタンがそのコンテンツに作用するようにする:
| In[1]:= |
バージョン 3 の新機能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »




