1use crate::primitives::dialog::Dialog; 2 3impl<'a> Dialog<'a> { 4 pub fn get_selected_button(&self) -> usize { 5 self.selected_button 6 } 7}