[][src]Trait gio::TlsPasswordExt

pub trait TlsPasswordExt: 'static {
    fn get_description(&self) -> Option<GString>;
fn get_flags(&self) -> TlsPasswordFlags;
fn get_warning(&self) -> Option<GString>;
fn set_description(&self, description: &str);
fn set_flags(&self, flags: TlsPasswordFlags);
fn set_warning(&self, warning: &str);
fn connect_property_description_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_flags_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_warning_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all TlsPassword methods.

Implementors

TlsPassword

Required methods

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

Get a description string about what the password will be used for.

Returns

The description of the password.

fn get_flags(&self) -> TlsPasswordFlags

Get flags about the password.

Returns

The flags about the password.

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

Get a user readable translated warning. Usually this warning is a representation of the password flags returned from TlsPasswordExt::get_flags.

Returns

The warning.

fn set_description(&self, description: &str)

Set a description string about what the password will be used for.

description

The description of the password

fn set_flags(&self, flags: TlsPasswordFlags)

Set flags about the password.

flags

The flags about the password

fn set_warning(&self, warning: &str)

Set a user readable translated warning. Usually this warning is a representation of the password flags returned from TlsPasswordExt::get_flags.

warning

The user readable warning

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

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

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

Loading content...

Implementors

impl<O: IsA<TlsPassword>> TlsPasswordExt for O[src]

Loading content...