[][src]Trait gtk::ViewportExt

pub trait ViewportExt: 'static {
    fn get_bin_window(&self) -> Option<Window>;
fn get_shadow_type(&self) -> ShadowType;
fn get_view_window(&self) -> Option<Window>;
fn set_shadow_type(&self, type_: ShadowType);
fn connect_property_shadow_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all Viewport methods.

Implementors

Viewport

Required methods

fn get_bin_window(&self) -> Option<Window>

Gets the bin window of the Viewport.

Returns

a gdk::Window

fn get_shadow_type(&self) -> ShadowType

Gets the shadow type of the Viewport. See ViewportExt::set_shadow_type.

Returns

the shadow type

fn get_view_window(&self) -> Option<Window>

Gets the view window of the Viewport.

Returns

a gdk::Window

fn set_shadow_type(&self, type_: ShadowType)

Sets the shadow type of the viewport.

type_

the new shadow type.

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

Loading content...

Implementors

impl<O: IsA<Viewport>> ViewportExt for O[src]

Loading content...