Trait gdk4::prelude::DisplayExtManual

source ·
pub trait DisplayExtManual: Sealed + IsA<Display> + 'static {
    // Provided methods
    fn translate_key(
        &self,
        keycode: u32,
        state: ModifierType,
        group: i32
    ) -> Option<(Key, i32, i32, ModifierType)> { ... }
    fn get_setting(&self, name: impl IntoGStr) -> Option<Value> { ... }
    fn map_keyval(&self, keyval: Key) -> Option<Vec<KeymapKey>> { ... }
    fn map_keycode(&self, keycode: u32) -> Option<Vec<(KeymapKey, Key)>> { ... }
    fn backend(&self) -> Backend { ... }
}
Expand description

Trait containing manually implemented methods of Display.

Provided Methods§

source

fn translate_key( &self, keycode: u32, state: ModifierType, group: i32 ) -> Option<(Key, i32, i32, ModifierType)>

source

fn get_setting(&self, name: impl IntoGStr) -> Option<Value>

source

fn map_keyval(&self, keyval: Key) -> Option<Vec<KeymapKey>>

source

fn map_keycode(&self, keycode: u32) -> Option<Vec<(KeymapKey, Key)>>

source

fn backend(&self) -> Backend

Get the currently used display backend

Object Safety§

This trait is not object safe.

Implementors§