pub trait AppChooserDialogExt: 'static {
    fn heading(&self) -> Option<GString>;
    fn widget(&self) -> Widget;
    fn set_heading(&self, heading: &str);
    fn gfile(&self) -> Option<File>;
    fn connect_heading_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Trait containing all AppChooserDialog methods.

Implementors

AppChooserDialog

Required Methods

Returns the text to display at the top of the dialog.

Returns

the text to display at the top of the dialog, or None, in which case a default text is displayed

Returns the AppChooserWidget of this dialog.

Returns

the AppChooserWidget of self

Sets the text to display at the top of the dialog. If the heading is not set, the dialog displays a default text.

heading

a string containing Pango markup

The GFile used by the AppChooserDialog. The dialog’s AppChooserWidget content type will be guessed from the file, if present.

Implementors