Method
AdapDialogset_presentation_mode
since: 1.5
Declaration [src]
void
adap_dialog_set_presentation_mode (
AdapDialog* self,
AdapDialogPresentationMode presentation_mode
)
Description [src]
Sets presentation mode for self.
When set to ADAP_DIALOG_AUTO, the dialog appears as a bottom sheet when the
following condition is met: max-width: 450px or max-height: 360px, and as a
floating window otherwise.
Set it to ADAP_DIALOG_FLOATING or ADAP_DIALOG_BOTTOM_SHEET to always
present it a floating window or a bottom sheet respectively, regardless of
available size.
Presentation mode does nothing for dialogs presented as a window.
Available since: 1.5
| Sets property | Adap.Dialog:presentation-mode |
Parameters
presentation_mode-
Type:
AdapDialogPresentationModeThe new presentation mode.