@c DO NOT EDIT!  Generated automatically by genpropdoc.m.

@c Copyright (C) 2014-2022 The Octave Project Developers
@c
@c This file is part of Octave.
@c
@c Octave is free software: you can redistribute it and/or modify it
@c under the terms of the GNU General Public License as published by
@c the Free Software Foundation, either version 3 of the License, or
@c (at your option) any later version.
@c
@c Octave is distributed in the hope that it will be useful, but
@c WITHOUT ANY WARRANTY; without even the implied warranty of
@c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@c GNU General Public License for more details.
@c
@c You should have received a copy of the GNU General Public License
@c along with Octave; see the file COPYING.  If not, see
@c <https://www.gnu.org/licenses/>.

Properties of @code{uipanel} objects (@pxref{XREFuipanel,,uipanel}):

@table @asis

@anchor{XREFuipanelbackgroundcolor}
@prindex uipanel backgroundcolor
@item @code{backgroundcolor}: def. @code{[0.9400   0.9400   0.9400]}



@anchor{XREFuipanelbeingdeleted}
@prindex uipanel beingdeleted
@item @code{beingdeleted}: @{@qcode{"off"}@} | @qcode{"on"}



@anchor{XREFuipanelbordertype}
@prindex uipanel bordertype
@item @code{bordertype}: @qcode{"beveledin"} | @qcode{"beveledout"} | @{@qcode{"etchedin"}@} | @qcode{"etchedout"} | @qcode{"line"} | @qcode{"none"}



@anchor{XREFuipanelborderwidth}
@prindex uipanel borderwidth
@item @code{borderwidth}: def. @code{1}



@anchor{XREFuipanelbusyaction}
@prindex uipanel busyaction
@item @code{busyaction}: @qcode{"cancel"} | @{@qcode{"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 @code{interruptible} property set to @qcode{"off"}.  The @code{busyaction} property of the interrupting callback object indicates whether the interrupting callback is queued (@qcode{"queue"} (default)) or discarded (@qcode{"cancel"}).
@xref{Callbacks, , @w{Callbacks section}}.


@anchor{XREFuipanelbuttondownfcn}
@prindex uipanel buttondownfcn
@item @code{buttondownfcn}: string | function handle, def. @code{[](0x0)}
For information on how to write graphics listener functions see @ref{Callbacks, , @w{Callbacks section}}.


@anchor{XREFuipanelchildren}
@prindex uipanel children
@item @code{children} (read-only): vector of graphics handles, def. @code{[](0x1)}
Graphics handles of the uipanel's children.


@anchor{XREFuipanelclipping}
@prindex uipanel clipping
@item @code{clipping}: @qcode{"off"} | @{@qcode{"on"}@}
If @code{clipping} is @qcode{"on"}, the uipanel is clipped in its parent axes limits.


@anchor{XREFuipanelcontextmenu}
@prindex uipanel contextmenu
@item @code{contextmenu}: graphics handle, def. @code{[](0x0)}
Graphics handle of the uicontextmenu object that is currently associated to this uipanel object.


@anchor{XREFuipanelcreatefcn}
@prindex uipanel createfcn
@item @code{createfcn}: string | function handle, def. @code{[](0x0)}
Callback function executed immediately after uipanel has been created.  Function is set by using default property on root object, e.g., @code{set (groot, "defaultuipanelcreatefcn", 'disp ("uipanel created!")')}.

For information on how to write graphics listener functions see @ref{Callbacks, , @w{Callbacks section}}.


@anchor{XREFuipaneldeletefcn}
@prindex uipanel deletefcn
@item @code{deletefcn}: string | function handle, def. @code{[](0x0)}
Callback function executed immediately before uipanel is deleted.

For information on how to write graphics listener functions see @ref{Callbacks, , @w{Callbacks section}}.


@anchor{XREFuipanelfontangle}
@prindex uipanel fontangle
@item @code{fontangle}: @qcode{"italic"} | @{@qcode{"normal"}@}
Control whether the font is italic or normal.


@anchor{XREFuipanelfontname}
@prindex uipanel fontname
@item @code{fontname}: string, def. @qcode{"*"}
Name of font used for text rendering.  When setting this property, the text rendering engine will search for a matching font in your system.  If none is found then text is rendered using a default sans serif font (same as the default @qcode{"*"} value).

Programming Note: On systems that don’t use FontConfig natively (all but Linux), the font cache is built when Octave is installed.  You will need to run @code{system ("fc-cache -fv")} manually after installing new fonts.


@anchor{XREFuipanelfontsize}
@prindex uipanel fontsize
@item @code{fontsize}: scalar, def. @code{10}
Size of the font used for text rendering.  @xref{XREFuipanelfontunits, , fontunits property}.


@anchor{XREFuipanelfontunits}
@prindex uipanel fontunits
@item @code{fontunits}: @qcode{"centimeters"} | @qcode{"inches"} | @qcode{"normalized"} | @qcode{"pixels"} | @{@qcode{"points"}@}
Units used to interpret the @qcode{"fontsize"} property.


@anchor{XREFuipanelfontweight}
@prindex uipanel fontweight
@item @code{fontweight}: @qcode{"bold"} | @{@qcode{"normal"}@}
Control the variant of the base font used for text rendering.


@anchor{XREFuipanelforegroundcolor}
@prindex uipanel foregroundcolor
@item @code{foregroundcolor}: def. @code{[0   0   0]}



@anchor{XREFuipanelhandlevisibility}
@prindex uipanel handlevisibility
@item @code{handlevisibility}: @qcode{"callback"} | @qcode{"off"} | @{@qcode{"on"}@}
If @code{handlevisibility} is @qcode{"off"}, the uipanel's handle is not visible in its parent's "children" property.


@anchor{XREFuipanelhighlightcolor}
@prindex uipanel highlightcolor
@item @code{highlightcolor}: def. @code{[1   1   1]}



@anchor{XREFuipanelhittest}
@prindex uipanel hittest
@item @code{hittest}: @qcode{"off"} | @{@qcode{"on"}@}
Specify whether uipanel processes mouse events or passes them to ancestors of the object.  When enabled, the object may respond to mouse clicks by evaluating the @qcode{"buttondownfcn"}, showing the uicontextmenu, and eventually becoming the root @qcode{"currentobject"}.  This property is only relevant when the object can accept mouse clicks which is determined by the @qcode{"pickableparts"} property.  @xref{XREFuipanelpickableparts, , @w{pickableparts property}}.


@anchor{XREFuipanelinterruptible}
@prindex uipanel interruptible
@item @code{interruptible}: @qcode{"off"} | @{@qcode{"on"}@}
Specify whether this object's callback functions may be interrupted by other callbacks.  By default @code{interruptible} is @qcode{"on"} and callbacks that make use of @code{drawnow}, @code{figure}, @code{waitfor}, @code{getframe} or @code{pause} functions are eventually interrupted.
@xref{Callbacks, , @w{Callbacks section}}.


@anchor{XREFuipanelparent}
@prindex uipanel parent
@item @code{parent}: graphics handle
Handle of the parent graphics object.


@anchor{XREFuipanelpickableparts}
@prindex uipanel pickableparts
@item @code{pickableparts}: @qcode{"all"} | @qcode{"none"} | @{@qcode{"visible"}@}
Specify whether uipanel will accept mouse clicks.  By default, @code{pickableparts} is @qcode{"visible"} and only visible parts of the uipanel or its children may react to mouse clicks.  When @code{pickableparts} is @qcode{"all"} both visible and invisible parts (or children) may react to mouse clicks.  When @code{pickableparts} is @qcode{"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 @qcode{"hittest"} property will determine how they are processed.  @xref{XREFuipanelhittest, , @w{hittest property}}.


@anchor{XREFuipanelposition}
@prindex uipanel position
@item @code{position}: def. @code{[0   0   1   1]}



@anchor{XREFuipanelresizefcn}
@prindex uipanel resizefcn
@item @code{resizefcn}: string | function handle, def. @code{[](0x0)}
@code{resizefcn} is deprecated.  Use @code{sizechangedfcn} instead.


@anchor{XREFuipanelselected}
@prindex uipanel selected
@item @code{selected}: @{@qcode{"off"}@} | @qcode{"on"}



@anchor{XREFuipanelselectionhighlight}
@prindex uipanel selectionhighlight
@item @code{selectionhighlight}: @qcode{"off"} | @{@qcode{"on"}@}



@anchor{XREFuipanelshadowcolor}
@prindex uipanel shadowcolor
@item @code{shadowcolor}: def. @code{[0.7000   0.7000   0.7000]}



@anchor{XREFuipanelsizechangedfcn}
@prindex uipanel sizechangedfcn
@item @code{sizechangedfcn}: string | function handle, def. @code{[](0x0)}
Callback triggered when the uipanel size is changed.

For information on how to write graphics listener functions see @ref{Callbacks, , @w{Callbacks section}}.


@anchor{XREFuipaneltag}
@prindex uipanel tag
@item @code{tag}: string, def. @qcode{""}
A user-defined string to label the graphics object.


@anchor{XREFuipaneltitle}
@prindex uipanel title
@item @code{title}: def. @qcode{""}



@anchor{XREFuipaneltitleposition}
@prindex uipanel titleposition
@item @code{titleposition}: @qcode{"centerbottom"} | @qcode{"centertop"} | @qcode{"leftbottom"} | @{@qcode{"lefttop"}@} | @qcode{"rightbottom"} | @qcode{"righttop"}



@anchor{XREFuipaneltype}
@prindex uipanel type
@item @code{type} (read-only): string
Class name of the graphics object.  @code{type} is always @qcode{"uipanel"}


@anchor{XREFuipanelunits}
@prindex uipanel units
@item @code{units}: @qcode{"centimeters"} | @qcode{"characters"} | @qcode{"inches"} | @{@qcode{"normalized"}@} | @qcode{"pixels"} | @qcode{"points"}



@anchor{XREFuipaneluserdata}
@prindex uipanel userdata
@item @code{userdata}: Any Octave data, def. @code{[](0x0)}
User-defined data to associate with the graphics object.


@anchor{XREFuipanelvisible}
@prindex uipanel visible
@item @code{visible}: @qcode{"off"} | @{@qcode{"on"}@}
If @code{visible} is @qcode{"off"}, the uipanel is not rendered on screen.

@end table