pub trait ParentWindow {
    // Required method
    fn parent_window(&self) -> Option<Window>;
Expand description

Get the parent window that allows setting the parent window of a dialog with gtk::prelude::GtkWindowExt::set_transient_for.

Required Methods§


fn parent_window(&self) -> Option<Window>

Returns the parent window that a dialog should use or None if no parent window should be set