[][src]Trait atk::DocumentExt

pub trait DocumentExt: 'static {
    fn get_attribute_value(&self, attribute_name: &str) -> Option<GString>;
fn get_current_page_number(&self) -> i32;
fn get_document_type(&self) -> Option<GString>;
fn get_page_count(&self) -> i32;
fn set_attribute_value(
        &self,
        attribute_name: &str,
        attribute_value: &str
    ) -> bool;
fn connect_load_complete<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_load_stopped<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_page_changed<F: Fn(&Self, i32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_reload<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; }

Required methods

fn get_attribute_value(&self, attribute_name: &str) -> Option<GString>

fn get_current_page_number(&self) -> i32

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

fn get_page_count(&self) -> i32

fn set_attribute_value(
    &self,
    attribute_name: &str,
    attribute_value: &str
) -> bool

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

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

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

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

Loading content...

Implementors

impl<O: IsA<Document>> DocumentExt for O[src]

Loading content...