WinOnTop

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

WINONTOP allows to trigger figure's "Always On Top" state

% INPUT ARGUMENTS:

# figureHandle - Matlab's figure handle, scalar
# isOnTop - logical scalar or empty array

% USAGE:

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

For Matlab windows, created via `hf=uifigure()` use `uifigureOnTop()`, see:
https://www.mathworks.com/matlabcentral/fileexchange/73134-uifigureontop

% LIMITATIONS:

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

引用

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

MATLAB リリースの互換性
作成: R2013a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersGraphics Objects についてさらに検索
謝辞

ヒントを得たファイル: Figure Window Always on Top, Set figure window to be always on top., ALWAYSONTOP

ヒントを与えたファイル: uifigureOnTop, WIND TURBINE SIMULATOR

Community Treasure Hunt

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

Start Hunting!

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

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

link for uifigureOnTop

1.5.0.0

connected to github; renamed "test_" to "demo_"

1.4.0.0

fixed IsOnTop vs isOnTop bug

1.3.0.0

Another "is using Handle Graphics v2" check mechanism,
Trying to fix zip file getting damaged by Mathworks site.
fixed duplicate license.txt files

1.2.0.0

adapted for changes in matlab graphics system (since R2014b)

1.1.0.0

couple of critical fixes

1.0.0.0

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