A dialog is the root cluster tile of the entire dcl dialog.
related attributes
These attributes are predefined for a dialog only:
initial_focus
If this attribute is specified, its
value should be the value of the key attribute of one of the
elements in the dialog. The element that is specified by its key in
the initial_focus attribute, will receive focus when the dialog is
displayed.
These attributes are predefined for every cluster tile and
consequently for a dialog as well:
These attributes are predefined for every tile and consequently
for a dialog as well:
key
value
tooltip
label
The label attribute sets the text
contents of the title bar of the dcl dialog.
fixed_height, fixed_width
Set fixed_height or fixed_width to
false to make the entire dcl dialog resizable. This is a BricsCAD
only feature, but it won't disturb usage of the DCL dialog in other
CAD applications. By design of DCL, it is permitted to add any
custom attribute. Custom attributes simply have no effect, apart
from the possibility to fetch them using get_attr.
When a dialog is closed using escape or the close button in its
window decoration, a callback will be triggered with the cancel
button as sender. If no cancel button has been defined, done_dialog
will be called.