src/swipl-devel/packages/xpce/man/refmanual/md/dialog_group.md

class dialog_group {#class-dialog_group}

A dialog_group object is a compound dialog item, a number of dialog_item objects displayed on a specialised device object.

Class dialog_group specialises class device to ensure proper handling of the layout of the controls displayed inside it as well as the placement of the group in the dialog. The class is also responsible for proper handling of keyboard input, including the <-default_button.

A dialog_group is built exactly the same as a dialog object. Here is a small example:

...,
new(DG, dialog_group(location)),
send(DG, append, text_item(address)),
send(DG, append, text_item(city)),
send(DG, append, text_item(country)),
...

Instance variables {#class-dialog_group-instvars}

Send methods {#class-dialog_group-send}

Get methods {#class-dialog_group-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.