Skip to Main Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate content levelBeginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
15.16 建立自訂互動式介面
|
631
此事件處理用來控制遊戲難度
此事件處理用來控制遊戲的進行
按方向鍵將使曲線延長
按下任何鍵(包含方向鍵)均會移動圓點,或是贏得遊戲
ESC 鍵可重設遊戲
不再往下一層傳遞觸發訊息
632
ch15.indd 631 2014/4/2 下午 03:40:27
632
|
第十五章
延伸資訊
FrontEndEventActions
NotebookEventActions
CellEventActions
是不同層級的事件
處理指令,詳見 Mathematica 教學文件。[Page-633]
15.17 大型互動介面的控制元件管理
問題點
你想建立的互動介面無法以
Manipulate
指令達到,因為需要管理大量的控制元件,並想
要自訂元件的排列方式。
解決方案
複雜的使用介面需使用
PaneSelector
OpenerView
指令管理控制元件;選取適當的控
制元件 需使用
Control
指令;而介 面上元 的排列 需使用
Item
Row
Column
Grid
令。 中,
Manipulate
面, 調 3D 數,
OpenerView
指令可設計內含進階控制元件的隱藏區塊,使用者可按下標示 Advan
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ubuntu for Non-Geeks, 4th Edition

Ubuntu for Non-Geeks, 4th Edition

Rickford Grant, Phil Bull

Publisher Resources

ISBN: 9789863470106