ジャンプ先: 概要. 戻り値. 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;