Next: Uitoolbar Properties, Previous: Uipanel Properties, Up: Graphics Object Properties [Contents][Index]
The uicontrol
properties are:
__modified__
: "off"
| {"on"
}backgroundcolor
: def. [0.93725 0.94118 0.94510]
beingdeleted
: {"off"
} | "on"
busyaction
: "cancel"
| {"queue"
}buttondownfcn
: string | function handle, def. [](0x0)
For information on how to write graphics listener functions see Callbacks section.
callback
: def. [](0x0)
cdata
: def. [](0x0)
children
(read-only): vector of graphics handles, def. [](0x1)
Graphics handles of the uicontrol’s children.
clipping
: "off"
| {"on"
}If clipping
is "on"
, the uicontrol is clipped in its parent axes limits.
createfcn
: string | function handle, def. [](0x0)
Callback function executed immediately after uicontrol has been created. Function is set by using default property on root object, e.g., set (0, "defaultuicontrolcreatefcn", 'disp ("uicontrol created!")')
.
For information on how to write graphics listener functions see Callbacks section.
deletefcn
: string | function handle, def. [](0x0)
Callback function executed immediately before uicontrol is deleted.
For information on how to write graphics listener functions see Callbacks section.
enable
: "inactive"
| "off"
| {"on"
}extent
(read-only): def. [0 0 0 0]
fontangle
: "italic"
| {"normal"
} | "oblique"
fontname
: def. "*"
fontsize
: def. 10
fontunits
: "centimeters"
| "inches"
| "normalized"
| "pixels"
| {"points"
}fontweight
: "bold"
| "demi"
| "light"
| {"normal"
}foregroundcolor
: def. [0.19216 0.21176 0.23137]
handlevisibility
: "callback"
| "off"
| {"on"
}If handlevisibility
is "off"
, the uicontrol’s handle is not visible in its parent’s "children" property.
hittest
: "off"
| {"on"
}horizontalalignment
: {"center"
} | "left"
| "right"
interruptible
: "off"
| {"on"
}keypressfcn
: def. [](0x0)
listboxtop
: def. 1
max
: def. 1
min
: def. 0
parent
: graphics handleHandle of the parent graphics object.
position
: def. [0 0 80 30]
selected
: {"off"
} | "on"
selectionhighlight
: "off"
| {"on"
}sliderstep
: def. [0.010000 0.100000]
string
: def. ""
style
: "checkbox"
| "edit"
| "frame"
| "listbox"
| "popupmenu"
| {"pushbutton"
} | "radiobutton"
| "slider"
| "text"
| "togglebutton"
tag
: string, def. ""
A user-defined string to label the graphics object.
tooltipstring
: def. ""
type
(read-only): stringClass name of the graphics object. type
is always "uicontrol"
uicontextmenu
: graphics handle, def. [](0x0)
Graphics handle of the uicontextmenu object that is currently associated to this uicontrol object.
units
: "centimeters"
| "characters"
| "inches"
| "normalized"
| {"pixels"
} | "points"
userdata
: Any Octave data, def. [](0x0)
User-defined data to associate with the graphics object.
value
: def. 0
verticalalignment
: "bottom"
| {"middle"
} | "top"
visible
: "off"
| {"on"
}If visible
is "off"
, the uicontrol is not rendered on screen.
Next: Uitoolbar Properties, Previous: Uipanel Properties, Up: Graphics Object Properties [Contents][Index]