pub trait VideoOverlayExtManual: Sealed + IsA<VideoOverlay> + 'static {
    // Provided methods
    unsafe fn set_window_handle(&self, handle: uintptr_t) { ... }
    unsafe fn got_window_handle(&self, handle: uintptr_t) { ... }
}

Provided Methods§

source

unsafe fn set_window_handle(&self, handle: uintptr_t)

This will call the video overlay’s set_window_handle method. You should use this method to tell to an overlay to display video output to a specific window (e.g. an XWindow on X11). Passing 0 as the handle will tell the overlay to stop using that window and create an internal one.

§handle

a handle referencing the window.

source

unsafe fn got_window_handle(&self, handle: uintptr_t)

Object Safety§

This trait is not object safe.

Implementors§