Mercurial > hg > octave-lyh
diff scripts/plot/uimenu.m @ 11563:3c6e8aaa9555
Grammarcheck m-files before 3.4 release.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 18 Jan 2011 20:55:01 -0800 |
parents | fd0a3ac60b0e |
children | c792872f8942 |
line wrap: on
line diff
--- a/scripts/plot/uimenu.m +++ b/scripts/plot/uimenu.m @@ -19,44 +19,44 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} uimenu (@var{property}, @var{value}, @dots{}) ## @deftypefnx {Function File} {} uimenu (@var{h}, @var{property}, @var{value}, @dots{}) -## Create an uimenu object and return a handle to it. If @var{h} is ommited then -## a top level menu entry for the current figure is created. If @var{h} is given then a -## submenu relative to @var{h} is created. +## Create an uimenu object and return a handle to it. If @var{h} is ommited +## then a top level menu entry for the current figure is created. If @var{h} +## is given then a submenu relative to @var{h} is created. ## ## Uimenu objects have the following specific properties: ## ## @table @code ## @item "accelerator" ## A string containg the key combination together with CTRL to execute this -## menu entry (e.g. "x" for CTRL+x). +## menu entry (e.g., "x" for CTRL+x). ## ## @item "callback" -## Is the function called when this menu entry is executed. It can be either a -## function string (e.g. "myfun"), a function handle (e.g. @@myfun) or a cell +## Is the function called when this menu entry is executed. It can be either a +## function string (e.g., "myfun"), a function handle (e.g., @@myfun) or a cell ## array containing the function handle and arguments for the callback -## function (e.g. @{@@myfun, arg1, arg2@}). +## function (e.g., @{@@myfun, arg1, arg2@}). ## ## @item "checked" -## Can be set "on" or "off". Sets a mark at this menu entry. +## Can be set "on" or "off". Sets a mark at this menu entry. ## ## @item "enable" -## Can be set "on" or "off". If disabled the menu entry cannot be selected and it is -## grayed out. +## Can be set "on" or "off". If disabled the menu entry cannot be selected +## and it is grayed out. ## ## @item "foregroundcolor" ## A color value setting the text color for this menu entry. ## ## @item "label" -## A string containing the label for this menu entry. A "&"-symbol can be used to mark -## the "accelerator" character (e.g. "E&xit") +## A string containing the label for this menu entry. A "&"-symbol can be +## used to mark the "accelerator" character (e.g., "E&xit") ## ## @item "position" -## An scalar value containing the relative menu position. The entry with the lowest -## value is at the first position starting from left or top. +## An scalar value containing the relative menu position. The entry with the +## lowest value is at the first position starting from left or top. ## ## @item "separator" -## Can be set "on" or "off". If enabled it draws a separator line above the current -## position. It is ignored for top level entries. +## Can be set "on" or "off". If enabled it draws a separator line above the +## current position. It is ignored for top level entries. ## ## ## @end table