setFigDockGroup

versión 1.5.0.0 (66.3 KB) por Yair Altman
Sets a figure's docking group container

5,5k降落

Actualizada9 Dec 2020

VER LICENCIA

setFigDockGroupsets a figure's (or list of figures') docking group container, enabling to dock figures to containers other than the default 'Figures' container (for example, to the 'Editor' group as shown in the screenshot, or to any new user-defined group, or even to another figure's button).

句法:
hgroup = setFigdockGroup(hfig,group)
hButton = setFigDockGroup(hFig, hButton)

Inputs:
HFIG是可选的手柄或手柄列表。这些通常是图形的手柄,但不一定是:包含手柄的图形是自动推断和使用的。如果未提供HFIG,则假定当前的图(GCF)。

组是一个组名称(例如'编辑器',“图”,“我的组”),或者是从以前的setFigdockGroup函数调用返回的组句柄。

hButton is the handle of a uicontrol pushbutton on another figure. This button would typically be labeled "undock" or have an undocking icon. Note that the docked figure will be minimized to the target hButton - you will NOT be able to see the docked figure's contents in the target figure, only to undock it via the button. Docking into a figure panel will perhaps be added in some future version.

Outputs:
The returned hGroupContainer object allows access to many useful properties and callbacks. Type "get(hGroupContainer)" to see the full list. Note that hGroupContainer may return empty ([]) if the group container is not visible.

See extended help within.

警告:
This code heavily relies on undocumented and unsupported Matlab functionality. It works on Matlab 7.4+, but use at your own risk!
This utility does NOT work with uifigures (created using the uifigure function or App Designer) - only with legacy (Java-based) figures.

错误和建议:
Please send to Yair Altman (altmany at gmail dot com)

Citar como

Yair Altman(2022)。setFigDockGroup(//www.tianjin-qmedu.com/matlabcentral/fileexchange/16650-setfigdockgroup), MATLAB Central File Exchange. Recuperado.

compatibilidad conlaversióndematlab
Se creó con R2007a
Compatible con cualquier versión
Compatibilidad con las plataformas
视窗 macOS Linux
Agradecimientos

Inspiración para:码头和撤消数字分组

Community Treasure Hunt

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

开始狩猎!