4.2.19:Stack Decorations – for Window Appearance

スタックの装飾(ウインドウの外観)

Stack decorations allow you to specify how the title bar and border of a window will be drawn. You can access the stack decorations options in
Object -> Stack Inspector.

スタック装飾によりタイトル・バーとウインドウの境界線がどのように描画されるかを指定します。スタックの装飾オプションにはObject -> Stack Inspectorでアクセスできます。

Apart from the differences in appearance between different window modes, the appearance and functionality of a window can vary depending on the stack's properties and the platform it is being displayed on. A window's title bar displays the window's title, as well as a close box, minimize box or collapse box, and maximize box or zoom box.

異なるウインドウのモードで外観が違うこと以外に、あるウインドウの外観と機能はスタックのプロパティとウインドウが表示されるプラットフォームの違いにより異なります。ウインドウのタイトル・バーはウインドウのタイトルを表示するほか、クローズ・ボックス、ミニマイズ・ボックスかコラプス・ボックス、さらにマキシマイズ・ボックスかズーム・ボックスをも表示します。


Figure 31 – Window Decorations on Windows and Mac OS X

図31 ー ウィンドウズとマックOSXでのウインドウの装飾


all_img_67


Note: On Mac OS X, a stack's shadow property controls whether the stack window has a drop shadow. On OS X systems, you can set this property to false to create a window with no shadow.

注釈: マックOSXでは、スタックのシャドー・プロパティでスタック・ウインドウに影をつけるか付けないかを選択できます。OSXでは、このプロパティを偽(フォールス)に設定することでウインドウに影をつけないようにできます。


The properties above can also be set by script, for more details see the decorations property in the Transcript Dictionary.

上述したプロパティはスクリプトで設定することもできます。詳細はトランスクリプト辞書のdecorationsプロパティ項目をご覧下さい。


Note: The decorations set on a stack are independent of the stack's mode (although of course some combinations of decorations are more or less appropriate with different window types). For example, if a stack's decorations property is set to empty, it is displayed without a title bar, whether the stack is displayed as an editable window, modal dialog box, modeless dialog box, or palette.

注釈: スタックに設定されたdecorationsは、スタックのモードとは切り離されています(勿論、装飾の組み合わせは多かれ少なかれウインドウのタイプにより影響されます)。例えば、スタックのdecorationsプロパティが「空」(エンプティ)に設定されていると、ウインドウはタイトル・バーなしで編集可能ウインドウ、モーダル・ダイアログ・ボックス、モードレス・ダイアログ・ボックスとして表示されるか、パレットとして表示されるかになります。


While the stack's mode is separate from its decorations, the mode may affect whether these properties have an effect. If the decorations property is set to "default", it displays the appropriate decorations for the current window type on the current platform.


スタックのモードがスタックのデコレーションと切り離されている一方、モードはこれらのプロパティがエフェクトを持っているかどうかに影響します。decorationsプロパティが「default」に設定されていると、使用中のプラットフォームの現在のウインドウ形式に最適な外観を表示します。