文件名称:showcontextmenu_v2
介绍说明--下载内容均来自于网络,请自行研究使用
使用方法如下:
---------------------------------
hcmenu1= uicontextmenu
uimenu(hcmenu1,...)
uimenu(hcmenu1,...)
showcontextmenu(hObj,hcmenu1)
---------------------------------
尝试使用实例test_showcontextmenu.m。
这也包含了日常琐碎的一些功能:
getParentFigure(hObject)
%的投资回报hObject的父母图
getPositionOnFigure(hObject,单位)
%返回对象的绝对位置上的数字
getRelPosition(hObject,单位)
%的人能(hObject, 定位 )与特定的 单位 -Use as follows:
---------------------------------
hcmenu1 = uicontextmenu
uimenu(hcmenu1,...)
uimenu(hcmenu1,...)
showcontextmenu(hObj,hcmenu1)
---------------------------------
Try test_showcontextmenu.m for usage example.
This also contains a number of trivial routine functions:
getParentFigure(hObject)
returns hObject s parent figure
getPositionOnFigure( hObject,units )
returns absolute position of object on a figure
getRelPosition( hObject,units )
get(hObject, Position ) with specific units
---------------------------------
hcmenu1= uicontextmenu
uimenu(hcmenu1,...)
uimenu(hcmenu1,...)
showcontextmenu(hObj,hcmenu1)
---------------------------------
尝试使用实例test_showcontextmenu.m。
这也包含了日常琐碎的一些功能:
getParentFigure(hObject)
%的投资回报hObject的父母图
getPositionOnFigure(hObject,单位)
%返回对象的绝对位置上的数字
getRelPosition(hObject,单位)
%的人能(hObject, 定位 )与特定的 单位 -Use as follows:
---------------------------------
hcmenu1 = uicontextmenu
uimenu(hcmenu1,...)
uimenu(hcmenu1,...)
showcontextmenu(hObj,hcmenu1)
---------------------------------
Try test_showcontextmenu.m for usage example.
This also contains a number of trivial routine functions:
getParentFigure(hObject)
returns hObject s parent figure
getPositionOnFigure( hObject,units )
returns absolute position of object on a figure
getRelPosition( hObject,units )
get(hObject, Position ) with specific units
(系统自动生成,下载前可以参看下载内容)
下载文件列表
license.txt
showcontextmenu
...............\getParentFigure.m
...............\getPositionOnFigure.m
...............\getRelPosition.m
...............\relativePos2absolutePos.m
...............\showcontextmenu.m
...............\test_showcontextmenu.m
...............\test_showcontextmenu2.m
readmeq.txt
showcontextmenu
...............\getParentFigure.m
...............\getPositionOnFigure.m
...............\getRelPosition.m
...............\relativePos2absolutePos.m
...............\showcontextmenu.m
...............\test_showcontextmenu.m
...............\test_showcontextmenu2.m
readmeq.txt