Skip to main content

dialog_button_order

Function dialog_button_order 

Source
pub fn dialog_button_order(resolved: &ResolvedThemeVariant) -> DialogButtonOrder
Expand description

The platform-appropriate dialog button order.

Returns whether affirmative buttons should appear on the leading (left) or trailing (right) side of a dialog. KDE uses leading-affirmative; most other platforms use trailing-affirmative.