gtk-rs / gtk3-rs

Rust bindings for GTK 3
https://gtk-rs.org
MIT License
508 stars 90 forks source link

[FEATURE REQUEST] Consistency between FileChooserDialog and FileChooserDialogBuilder #632

Closed robmoss closed 2 years ago

robmoss commented 3 years ago

As far as I can tell, the only way to specify the buttons for a FileChooserDialog is to call FileChooserDialog::new() (which has a buttons argument). FileChooserDialogBuilder has no equivalent method.

Similarly, FileChooserDialogBuilder::use_header_bar() provides control over using a header bar, and FileChooserDialog has no equivalent method.

Should these features be provided by both types?

sdroege commented 3 years ago

CC @GuillaumeGomez

GuillaumeGomez commented 2 years ago

Seems like it's unneeded as discussed in the linked PR.