Struct ux::FocusManager [−][src]
pub struct FocusManager { /* fields omitted */ }
Trait Implementations
impl AsRef<FocusManager> for FocusManager
[src]
impl AsRef<FocusManager> for FocusManager
[src]pub fn as_ref(&self) -> &FocusManager
[src]
impl Clone for 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 Display for FocusManager
[src]
impl Display for FocusManager
[src]impl Is<FocusManager> for FocusManager
[src]
impl Is<FocusManager> for FocusManager
[src]impl Object for FocusManager
[src]
impl Object for FocusManager
[src]Auto Trait Implementations
impl !RefUnwindSafe for FocusManager
impl !RefUnwindSafe for FocusManager
impl !Send for FocusManager
impl !Send for FocusManager
impl !Sync for FocusManager
impl !Sync for FocusManager
impl Unpin for FocusManager
impl Unpin for FocusManager
impl UnwindSafe for FocusManager
impl UnwindSafe for FocusManager
Blanket Implementations
impl<O> FocusManagerExt for O where
O: Is<FocusManager>,
[src]
impl<O> FocusManagerExt for O where
O: Is<FocusManager>,
[src]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<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,