Trait gtk::prelude::AppChooserDialogExt [−][src]
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
Required methods
fn set_heading(&self, heading: &str)
fn set_heading(&self, heading: &str)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.
fn connect_heading_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId