Trait gtk::prelude::PageSetupExt [] [src]

pub trait PageSetupExt {
    fn copy(&self) -> Option<PageSetup>;
    fn get_bottom_margin(&self, unit: Unit) -> f64;
    fn get_left_margin(&self, unit: Unit) -> f64;
    fn get_orientation(&self) -> PageOrientation;
    fn get_page_height(&self, unit: Unit) -> f64;
    fn get_page_width(&self, unit: Unit) -> f64;
    fn get_paper_height(&self, unit: Unit) -> f64;
    fn get_paper_size(&self) -> PaperSize;
    fn get_paper_width(&self, unit: Unit) -> f64;
    fn get_right_margin(&self, unit: Unit) -> f64;
    fn get_top_margin(&self, unit: Unit) -> f64;
    fn load_file<P: AsRef<Path>>(&self, file_name: P) -> Result<(), Error>;
    fn load_key_file<'a, P: Into<Option<&'a str>>>(
        &self,
        key_file: &KeyFile,
        group_name: P
    ) -> Result<(), Error>; fn set_bottom_margin(&self, margin: f64, unit: Unit); fn set_left_margin(&self, margin: f64, unit: Unit); fn set_orientation(&self, orientation: PageOrientation); fn set_paper_size(&self, size: &PaperSize); fn set_paper_size_and_default_margins(&self, size: &PaperSize); fn set_right_margin(&self, margin: f64, unit: Unit); fn set_top_margin(&self, margin: f64, unit: Unit); fn to_file<P: AsRef<Path>>(&self, file_name: P) -> Result<(), Error>; fn to_gvariant(&self) -> Option<Variant>; fn to_key_file(&self, key_file: &KeyFile, group_name: &str); }

Required Methods

Implementors