Trait atk::prelude::DocumentExt
source · [−]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
source
fn get_attribute_value(&self, attribute_name: &str) -> Option<GString>
source
fn get_current_page_number(&self) -> i32
source
fn get_document_type(&self) -> Option<GString>
source
fn get_page_count(&self) -> i32
source
fn set_attribute_value(&self, attribute_name: &str, attribute_value: &str) -> bool
source
fn connect_load_complete<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source
fn connect_load_stopped<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_page_changed<F: Fn(&Self, i32) + 'static>(
fn connect_page_changed<F: Fn(&Self, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
source