uifigureOnTop

Versión 1.0.1 (2.76 KB) por Igor
Allows to trigger uifigure's "Always On Top" state in Matlab
195 descargas
Actualizado 27 Oct 2019

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

Citar como

Igor (2024). uifigureOnTop (https://github.com/i3v/uifigureOnTop), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2019a
Compatible con cualquier versión desde R2017b
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Develop uifigure-Based Apps en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: WinOnTop

Community Treasure Hunt

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

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
1.0.1

Added pic.

1.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.