移動先: 概要 戻り値 MEL 例.

概要

showSelectionInTitle [string]

showSelectionInTitle は 「元に戻す」が可能、「照会」が不可能「編集」が不可能 です。

このコマンドにより、引数として指定されたウィンドウのタイトルが、現在のファイルと選択項目にリンクされます。セレクションが変更されると、ウィンドウ タイトルが変わり、 カレントのファイル名と最後に選択したオブジェクトの名前が表示されます。

戻り値

なし

MEL 例

string $window = `window -widthHeight 400 100`;
paneLayout;
scrollField -wordWrap true -text ("The title of this window "
    + "will reflect the current object selection.");
showWindow $window;

showSelectionInTitle $window;
sphere;