Trait gdk4::prelude::DisplayExtManual
source · [−]pub trait DisplayExtManual: 'static {
fn translate_key(
&self,
keycode: u32,
state: ModifierType,
group: i32
) -> Option<(Key, i32, i32, ModifierType)>;
fn get_setting(&self, name: &str) -> 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
.
Required Methods
sourcefn translate_key(
fn translate_key(
&self,
keycode: u32,
state: ModifierType,
group: i32
) -> Option<(Key, i32, i32, ModifierType)>
source