Trait gstreamer_video::prelude::NavigationExt
source · pub trait NavigationExt: IsA<Navigation> + Sealed + 'static {
// Provided methods
fn send_command(&self, command: NavigationCommand) { ... }
fn send_event(&self, structure: Structure) { ... }
fn send_event_simple(&self, event: Event) { ... }
fn send_key_event(&self, event: &str, key: &str) { ... }
fn send_mouse_event(&self, event: &str, button: i32, x: f64, y: f64) { ... }
fn send_mouse_scroll_event(
&self,
x: f64,
y: f64,
delta_x: f64,
delta_y: f64
) { ... }
}
Provided Methods§
fn send_command(&self, command: NavigationCommand)
fn send_event(&self, structure: Structure)
fn send_event_simple(&self, event: Event)
Available on crate feature
v1_22
only.fn send_key_event(&self, event: &str, key: &str)
fn send_mouse_event(&self, event: &str, button: i32, x: f64, y: f64)
fn send_mouse_scroll_event(&self, x: f64, y: f64, delta_x: f64, delta_y: f64)
Available on crate feature
v1_18
only.Object Safety§
This trait is not object safe.