[][src]Trait gio::CharsetConverterExt

pub trait CharsetConverterExt: 'static {
    fn get_num_fallbacks(&self) -> u32;
fn get_use_fallback(&self) -> bool;
fn set_use_fallback(&self, use_fallback: bool);
fn get_property_from_charset(&self) -> Option<GString>;
fn get_property_to_charset(&self) -> Option<GString>;
fn connect_property_use_fallback_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all CharsetConverter methods.

Implementors

CharsetConverter

Required methods

fn get_num_fallbacks(&self) -> u32

Gets the number of fallbacks that self has applied so far.

Returns

the number of fallbacks that self has applied

fn get_use_fallback(&self) -> bool

Gets the CharsetConverter:use-fallback property.

Returns

true if fallbacks are used by self

fn set_use_fallback(&self, use_fallback: bool)

Sets the CharsetConverter:use-fallback property.

use_fallback

true to use fallbacks

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

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

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

Loading content...

Implementors

impl<O: IsA<CharsetConverter>> CharsetConverterExt for O[src]

Loading content...