Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit 9238567

Browse files
committed
Remove doc comment for FileChooserDialog::with_buttons
1 parent 6f5f1dc commit 9238567

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/file_chooser_dialog.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@ impl FileChooserDialog {
2929
}
3030
}
3131

32-
/// This function creates a `FileChooserDialog` with buttons:
33-
/// ```
34-
/// let dialog = FileChooserDialog::with_buttons::<ApplicationWindow>(
35-
/// Option::Some("Open File"),
36-
/// Option::None,
37-
/// FileChooserAction::Open,
38-
/// &[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)]
39-
/// );
40-
/// ```
4132
pub fn with_buttons<T: IsA<Window>>(title: Option<&str>, parent: Option<&T>, action: FileChooserAction, buttons: &[(&str, ResponseType)]) -> FileChooserDialog {
4233
assert_initialized_main_thread!();
4334
unsafe {

0 commit comments

Comments
 (0)