pub fn build_file_chooser() -> gtk::FileChooserDialog {
    let dialog = gtk::FileChooserDialog::new (
                Some("Choose DireFilectory"),
                Some(&Window::new(WindowType::Popup)),
                gtk::FileChooserAction::Open,
    );
    dialog.add_button("Cancel", gtk::ResponseType::Cancel.into());
    dialog.add_button("Select", gtk::ResponseType::Ok.into());
    dialog
}
//most widgets are defined in glade. any defined in code are here
most widgets are defined in glade. any defined in code are here
most widgets are defined in glade . any defined in code are here
pub fn build_file_chooser() -> gtk::FileChooserDialog {
    let dialog = gtk::FileChooserDialog::new (
                Some("Choose DireFilectory"),
                Some(&Window::new(WindowType::Popup)),
                gtk::FileChooserAction::Open,
    );
    dialog.add_button("Cancel", gtk::ResponseType::Cancel.into());
    dialog.add_button("Select", gtk::ResponseType::Ok.into());
    dialog
}
pub fn build_file_chooser ( ) -> gtk :: FileChooserDialog { let dialog = gtk :: FileChooserDialog :: new ( Some ( " " ) , Some ( & Window :: new ( WindowType :: Popup ) ) , gtk :: FileChooserAction :: Open , ) ; dialog . add_button ( " " , gtk :: ResponseType :: Cancel . into ( ) ) ; dialog . add_button ( " " , gtk :: ResponseType :: Ok . into ( ) ) ; dialog }
most widgets are defined in glade.
most widgets are defined in glade .