Skip to Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner 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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mathematica Cookbook

Mathematica Cookbook

Sal Mangano
人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar

Publisher Resources

ISBN: 9789863470106