Struct rute::auto::desktop_widget::DesktopWidget
source · pub struct DesktopWidget<'a> { /* private fields */ }
Expand description
Notice these docs are heavy WIP and not very relevent yet
Licence
The documentation is an adoption of the original Qt Documentation and provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Implementations
sourceimpl<'a> DesktopWidget<'a>
impl<'a> DesktopWidget<'a>
pub fn screen_number<W: WidgetTrait<'a>>(&self, widget: &W) -> i32
pub fn is_virtual_desktop(&self) -> bool
pub fn num_screens(&self) -> i32
pub fn screen_count(&self) -> i32
pub fn primary_screen(&self) -> i32
pub fn screen_number_2<P: PointTrait<'a>>(&self, arg0: &P) -> i32
pub fn screen(&self, screen: i32) -> Option<Widget<'_>>
pub fn set_window_title_changed_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&str) + 'a,
pub fn set_window_icon_changed_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&Icon<'_>) + 'a,
pub fn set_window_icon_text_changed_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&str) + 'a,
pub fn set_mouse_press_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&MouseEvent<'_>) + 'a,
pub fn set_mouse_release_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&MouseEvent<'_>) + 'a,
pub fn set_mouse_double_click_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&MouseEvent<'_>) + 'a,
pub fn set_mouse_move_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&MouseEvent<'_>) + 'a,
pub fn set_wheel_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&WheelEvent<'_>) + 'a,
pub fn set_key_press_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&KeyEvent<'_>) + 'a,
pub fn set_key_release_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&KeyEvent<'_>) + 'a,
pub fn set_focus_in_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&FocusEvent<'_>) + 'a,
pub fn set_focus_out_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&FocusEvent<'_>) + 'a,
pub fn set_enter_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&Event<'_>) + 'a,
pub fn set_leave_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&Event<'_>) + 'a,
pub fn set_paint_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&PaintEvent<'_>) + 'a,
pub fn set_move_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&MoveEvent<'_>) + 'a,
pub fn set_resize_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&ResizeEvent<'_>) + 'a,
pub fn set_close_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&CloseEvent<'_>) + 'a,
pub fn set_tablet_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&TabletEvent<'_>) + 'a,
pub fn set_drag_enter_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&DragEnterEvent<'_>) + 'a,
pub fn set_drag_move_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&DragMoveEvent<'_>) + 'a,
pub fn set_drag_leave_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&DragLeaveEvent<'_>) + 'a,
pub fn set_drop_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&DropEvent<'_>) + 'a,
pub fn set_show_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&ShowEvent<'_>) + 'a,
pub fn set_hide_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&HideEvent<'_>) + 'a,
pub fn set_change_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&Event<'_>) + 'a,
pub fn set_custom_event<F>(&self, func: F) -> &Selfwhere
F: Fn(&Event<'_>) + 'a,
pub fn build(&self) -> Self
Trait Implementations
sourceimpl<'a> Clone for DesktopWidget<'a>
impl<'a> Clone for DesktopWidget<'a>
sourcefn clone(&self) -> DesktopWidget<'a>
fn clone(&self) -> DesktopWidget<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<'a> DesktopWidgetTrait<'a> for DesktopWidget<'a>
impl<'a> ObjectTrait<'a> for DesktopWidget<'a>
impl<'a> PaintDeviceTrait<'a> for DesktopWidget<'a>
impl<'a> WidgetTrait<'a> for DesktopWidget<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DesktopWidget<'a>
impl<'a> !Send for DesktopWidget<'a>
impl<'a> !Sync for DesktopWidget<'a>
impl<'a> Unpin for DesktopWidget<'a>
impl<'a> !UnwindSafe for DesktopWidget<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more