Properties of uitoggletool
objects (see uitoggletool):
Appearance | Callback Execution | Creation/Deletion | Display | Mouse Interaction | Object Identification | Parent/Children | Toggle Operation
__named_icon__
: string, def. ""
¶The name of an bundled icon file to use as the image for the toggletool object.
cdata
: array, def. [](0x0)
¶Image data used to represent the toggletool object, stored as a M x N x 3 RGB array.
separator
: {"off"
} | "on"
¶Setting to draw a vertical line to the left of the toggletool.
busyaction
: "cancel"
| {"queue"
} ¶Define how Octave handles the execution of this object’s callback properties when it is unable to interrupt another object’s executing callback. This is only relevant when the currently executing callback object has its interruptible
property set to "off"
. The busyaction
property of the interrupting callback object indicates whether the interrupting callback is queued ("queue"
(default)) or discarded ("cancel"
).
See Callbacks section.
clickedcallback
: string, def. [](0x0)
¶A string consisting of a valid Octave expression that will be executed whenever this control object is clicked.
interruptible
: "off"
| {"on"
} ¶Specify whether this object’s callback functions may be interrupted by other callbacks. By default interruptible
is "on"
and callbacks that make use of drawnow
, figure
, waitfor
, getframe
or pause
functions are eventually interrupted.
See Callbacks section.
offcallback
: string, def. [](0x0)
¶A string consisting of a valid Octave expression that will be executed whenever this control object is toggled off.
oncallback
: string, def. [](0x0)
¶A string consisting of a valid Octave expression that will be executed whenever this control object is toggled on.
beingdeleted
: {"off"
} | "on"
¶Property indicating that a function has initiated deletion of the object. beingdeleted
is set to true until the object no longer exists.
createfcn
: string | function handle, def. [](0x0)
¶Callback function executed immediately after uitoggletool has been created. Function is set by using default property on root object, e.g., set (groot, "defaultuitoggletoolcreatefcn", 'disp ("uitoggletool created!")')
.
For information on how to write graphics listener functions see Callbacks section.
deletefcn
: string | function handle, def. [](0x0)
¶Callback function executed immediately before uitoggletool is deleted.
For information on how to write graphics listener functions see Callbacks section.
clipping
: "off"
| {"on"
} ¶If clipping
is "on"
, the uitoggletool is clipped in its parent axes limits.
visible
: "off"
| {"on"
} ¶If visible
is "off"
, the uitoggletool is not rendered on screen.
buttondownfcn
: string | function handle, def. [](0x0)
¶buttondownfcn
is unused.
contextmenu
: graphics handle, def. [](0x0)
¶Graphics handle of the uicontextmenu object that is currently associated to this uitoggletool object.
hittest
: "off"
| {"on"
} ¶Specify whether uitoggletool processes mouse events or passes them to ancestors of the object. When enabled, the object may respond to mouse clicks by evaluating the "buttondownfcn"
, showing the uicontextmenu, and eventually becoming the root "currentobject"
. This property is only relevant when the object can accept mouse clicks which is determined by the "pickableparts"
property. See pickableparts property.
pickableparts
: "all"
| "none"
| {"visible"
} ¶Specify whether uitoggletool will accept mouse clicks. By default, pickableparts
is "visible"
and only visible parts of the uitoggletool or its children may react to mouse clicks. When pickableparts
is "all"
both visible and invisible parts (or children) may react to mouse clicks. When pickableparts
is "none"
mouse clicks on the object are ignored and transmitted to any objects underneath this one. When an object is configured to accept mouse clicks the "hittest"
property will determine how they are processed. See hittest property.
selected
: {"off"
} | "on"
¶Property indicates whether this uitoggletool is selected.
selectionhighlight
: "off"
| {"on"
} ¶If selectionhighlight
is "on"
, then the uitoggletool’s selection state is visually highlighted.
tooltipstring
: string, def. ""
¶A text string that appears in a tooltip when the mouse pointer hovers over the toggletool object.
tag
: string, def. ""
¶A user-defined string to label the graphics object.
type
(read-only): string ¶Class name of the graphics object. type
is always "uitoggletool"
.
userdata
: Any Octave data, def. [](0x0)
¶User-defined data to associate with the graphics object.
children
(read-only): vector of graphics handles, def. [](0x1)
¶Graphics handles of the uitoggletool’s children.
handlevisibility
: "callback"
| "off"
| {"on"
} ¶If handlevisibility
is "off"
, the uitoggletool’s handle is not visible in its parent’s "children"
property.
parent
: graphics handle ¶Handle of the parent graphics object.