4.2.17:Drawers – Mac OS X only

ドロワーズ(マックOSXのみ)

A drawer is a subwindow that slides out from underneath one edge of a window, and slides back in when you close it. You usually use a button in the main window to open and close a drawer.

ドロアーはサブウインドで、ウインドウの端のどちらかからスライドして現れ、閉じる時もスライドして隠れます。ドロアーの開閉には、通常メインとなるウインドウに置いたボタンを使います。

To display a stack as a drawer, you use the
drawer command:

スタックをドロアーとして開くには、drawerコマンドを使います。


drawer "My Stack" at left -- of defaultStack
drawer "My Stack" at bottom of stack "My Document"




On systems other than OS X, the
drawer command displays the stack as an editable window. Because this does not map well to other platforms, we recommend you only use drawers for applications that are only being developed for Mac OS X.

マックOSX以外のシステムでは、drawerコマンドはスタックを編集可能ウインドウとして表示します。と言うのも、他のプラットフォームではドロアーを巧くマッピング(座標上に展開)できないからです。それ故、ドロアーはマックOSX用アプリケーションの作成だけに使うことをお薦めします。

Use drawers to hold settings, lists of favorites, and similar controls that are accessed
frequently but that don't need to be constantly visible.

設定の保存、お気に入りの一覧、或はこうしたものと同じようなコントロールで、しばしばアクセスされるが常に表示して置く必要のないものにドロアーを使用します。