Trait gtk4::prelude::RootExt

source ·
pub trait RootExt: 'static {
    // Required methods
    fn focus(&self) -> Option<Widget>;
    fn set_focus(&self, focus: Option<&impl IsA<Widget>>);
}

Required Methods§

source

fn focus(&self) -> Option<Widget>

source

fn set_focus(&self, focus: Option<&impl IsA<Widget>>)

Implementors§

source§

impl<O: IsA<Root>> RootExt for O