mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
drop deprecated method
This commit is contained in:
parent
7d638c3b76
commit
86347c42b9
@ -1,7 +1,4 @@
|
||||
use gtk::{
|
||||
prelude::{BoxExt, WidgetExt},
|
||||
Box, Button, DirectionType, Entry, Orientation,
|
||||
};
|
||||
use gtk::{prelude::BoxExt, Box, Button, Entry, Orientation};
|
||||
use std::sync::Arc;
|
||||
|
||||
pub struct Widget {
|
||||
@ -34,11 +31,6 @@ impl Widget {
|
||||
Arc::new(Self { gobject })
|
||||
}
|
||||
|
||||
// Actions
|
||||
pub fn focus(&self) {
|
||||
self.gobject.child_focus(DirectionType::Right);
|
||||
}
|
||||
|
||||
// Getters
|
||||
pub fn gobject(&self) -> &Box {
|
||||
&self.gobject
|
||||
|
Loading…
x
Reference in New Issue
Block a user