uifigureOnTop

バージョン 1.0.1 (2.76 KB) 作成者: Igor
Allows to trigger uifigure's "Always On Top" state in Matlab
ダウンロード: 196
更新 2019/10/27

UIFIGUREONTOP allows to trigger uifigure's "Always On Top" state

% INPUT ARGUMENTS:

* uifig - Matlab uifigure handle, scalar
* isOnTop - logical scalar or empty array

% USAGE:

* uifigureOnTop(uifigure, true); - switch on "always on top"
* uifigureOnTop(uifigure, false); - switch off "always on top"
* uifigureOnTop(uifigure); - equal to uifigureOnTop( uifigure,true);
* WasOnTop = uifigureOnTop(...); - returns boolean value "if figure WAS on top"
* isOnTop = uifigureOnTop(uifigure,[]) - get "if figure is on top" property

For Matlab windows, created via `hf=figure()` use `WinOnTop()`, see:
https://www.mathworks.com/matlabcentral/fileexchange/42252-winontop

% LIMITATIONS:

* java enabled
* figure must be visible
* figure's "WindowStyle" should be "normal"
* figureHandle should not be casted to double, if using HG2 (R2014b+)

Based on https://undocumentedmatlab.com/blog/customizing-uifigures-part-1

引用

Igor (2024). uifigureOnTop (https://github.com/i3v/uifigureOnTop), GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2019a
R2017b 以降のリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDevelop uifigure-Based Apps についてさらに検索
謝辞

ヒントを得たファイル: WinOnTop

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

GitHub の既定のブランチを使用するバージョンはダウンロードできません

バージョン 公開済み リリース ノート
1.0.1

Added pic.

1.0.0

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。