pub trait ViewportExt: 'static {
    fn bin_window(&self) -> Option<Window>;
    fn shadow_type(&self) -> ShadowType;
    fn view_window(&self) -> Option<Window>;
    fn set_shadow_type(&self, type_: ShadowType);
    fn connect_shadow_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Trait containing all Viewport methods.

Implementors

Viewport

Required Methods

Gets the bin window of the Viewport.

Returns

a gdk::Window

Gets the shadow type of the Viewport. See set_shadow_type().

Returns

the shadow type

Gets the view window of the Viewport.

Returns

a gdk::Window

Sets the shadow type of the viewport.

type_

the new shadow type.

Implementors