[][src]Trait gtk::AppChooserDialogExt

pub trait AppChooserDialogExt: 'static {
    fn get_heading(&self) -> Option<GString>;
fn get_widget(&self) -> Widget;
fn set_heading(&self, heading: &str);
fn get_property_gfile(&self) -> Option<File>;
fn connect_property_heading_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all AppChooserDialog methods.

Implementors

AppChooserDialog

Required methods

fn get_heading(&self) -> Option<GString>

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

fn get_widget(&self) -> Widget

Returns the AppChooserWidget of this dialog.

Returns

the AppChooserWidget of self

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

fn get_property_gfile(&self) -> Option<File>

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

fn connect_property_heading_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<AppChooserDialog>> AppChooserDialogExt for O[src]

Loading content...