Struct ux::FocusManager [−][src]
pub struct FocusManager { /* fields omitted */ }
Trait Implementations
impl AsRef<FocusManager> for FocusManager
[src]
pub fn as_ref(&self) -> &FocusManager
[src]
impl Clone for FocusManager
[src]
pub fn clone(&self) -> FocusManager
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FocusManager
[src]
impl Display for FocusManager
[src]
impl Is<FocusManager> for FocusManager
[src]
impl Object for FocusManager
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FocusManager
impl !Send for FocusManager
impl !Sync for FocusManager
impl Unpin for FocusManager
impl UnwindSafe for FocusManager
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<O> FocusManagerExt for O where
O: Is<FocusManager>,
[src]
O: Is<FocusManager>,
pub fn get_focused(&self) -> Option<Focusable>
[src]
focus_manager_get_focused: @manager: A #FocusManager
Get the currently focused #Focusable
Returns: (transfer none): Focusable
pub fn get_stage(&self) -> Option<Stage>
[src]
focus_manager_get_stage: @manager: A #FocusManager
Get the stage the FocusManager is associated with
Returns: (transfer none): A #Stage
pub fn move_focus(&self, direction: FocusDirection)
[src]
focus_manager_move_focus: @manager: the focus manager @direction: The direction to move focus in
Moves the current focus in the given direction.
pub fn push_focus(&self, focusable: &Focusable)
[src]
focus_manager_push_focus: @manager: the focus manager @focusable: the object to set focus on
Sets the currently focused actor, with an #FocusHint of %FOCUS_HINT_PRIOR.
Note: the final focused object may not be the same as @focusable if @focusable does not accept focus directly.
pub fn push_focus_with_hint(&self, focusable: &Focusable, hint: FocusHint)
[src]
focus_manager_push_focus_with_hint: @manager: the focus manager @focusable: the object to set focus on @hint: an #FocusHint
Similar to #focus_manager_push_focus, but allows the hint to be specified.
Note: the final focused object may not be the same as @focusable if @focusable does not accept focus directly.
pub fn connect_property_focused_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_stage_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,