| Did you know ... | Search Documentation: |
| Send methods |
->fit.
It invokes the automatic dialog->layout,
assigns the dialog->caret
to the first text_item and (depending on -size_given) computes the
desired dimensions of the dialog window.
->fit ->layout<-activerelative_to_last:
below below the last one right right of the last one next_row below the left-most item of previous row
If relative_to_last is omitted, the following defaults apply: if the
last item and this item are instances of class button,
the item is placed right. Otherwise the item is placed
next_row.
->layout ->display<-message
for each of the dialog_item's in
device<-graphicals.
If always equals @on
the message will be invoked regardless whether the user has modified the
item or not. If always equals @off
or @default
the message will only be invoked if
dialog_item<-modified
yields @on. If
the dialog has a
device<-default_button,
execute graphical->active.
See also dialog->restore.
<-graphicals,
computes a set of accelerators to use for them and finally uses
dialog_item->accelerator
to assign them.
See also menu->assign_accelerators and dialog->assign_accelerators.
->advance
and
text_item<-advance.<-default_button->display,
but invokes
`dialog_item ->auto_align: @off`
To inform dialog->layout
not to move this object.
->append->append.->_compute_desired_size
when then dialog's frame is created. See also frame->fit.
The layout process consists of the following stages:
<-auto_align
in a two-dimensional grid.<-auto_label_align,
dialog_item<-label_width, dialog_item<-auto_value_align
and dialog_item<-value_width<-alignment not
column, but one of left, center
or right are not horizontally with items above or below
them, but combined with items to their left and right into sequences of
items with the same alignment. At the end of the layout process aligned
such sequences are aligned in the available space. Notably button
objects have
dialog_item<-alignment,
so a row of buttons is normally centered in the dialog window.<-reference
in the two-dimensional grid.
-left -label_width -below -auto_value_align -auto_label_align -above ->_compute_desired_size ->append -gap <-default_button,
this button will be activated using graphical->active.
Otherwise, this method fails. Dialog-items will send their dialog_item<-message
immediately if this message fails. Otherwise they assume the default
button will activate dialog->apply.
See also dialog_item->modified, dialog->apply
and dialog->restore.
->restore to all device<-graphicals.
If the dialog has a device<-default_button,
this is send graphical->active.
See also graphical->restore, dialog_item<-default
and
dialog_item->modified, graphical->apply
and dialog->apply.
->size
and sets -size_given to both to avoid overruling of the given size by
the automatic layout system invoked by dialog->_compute_desired_size.
See also
dialog->width
and dialog->height->_compute_desired_size
computes the size on the basis of the dialog's contents, the
graphical<-width will not be changed after
this message. Sets -size_given to width or both.
See also dialog->height
and dialog->size.