Trait gdk_pixbuf::prelude::PixbufLoaderExt[][src]

pub trait PixbufLoaderExt: 'static {
    fn close(&self) -> Result<(), Error>;
fn get_animation(&self) -> Option<PixbufAnimation>;
fn get_format(&self) -> Option<PixbufFormat>;
fn get_pixbuf(&self) -> Option<Pixbuf>;
fn set_size(&self, width: i32, height: i32);
fn write(&self, buf: &[u8]) -> Result<(), Error>;
fn write_bytes(&self, buffer: &Bytes) -> Result<(), Error>;
fn connect_area_prepared<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_area_updated<F: Fn(&Self, i32, i32, i32, i32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_size_prepared<F: Fn(&Self, i32, i32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn close(&self) -> Result<(), Error>[src]

fn get_animation(&self) -> Option<PixbufAnimation>[src]

fn get_format(&self) -> Option<PixbufFormat>[src]

fn get_pixbuf(&self) -> Option<Pixbuf>[src]

fn set_size(&self, width: i32, height: i32)[src]

fn write(&self, buf: &[u8]) -> Result<(), Error>[src]

fn write_bytes(&self, buffer: &Bytes) -> Result<(), Error>[src]

fn connect_area_prepared<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_area_updated<F: Fn(&Self, i32, i32, i32, i32) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_size_prepared<F: Fn(&Self, i32, i32) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<PixbufLoader>> PixbufLoaderExt for O[src]

Loading content...