[−][src]Enum gtk::PropagationPhase
Describes the stage at which events are fed into a EventController
.
Variants (Non-exhaustive)
Events are not delivered automatically. Those can be
manually fed through EventControllerExt::handle_event
. This should
only be used when full control about when, or whether the controller
handles the event is needed.
Events are delivered in the capture phase. The capture phase happens before the bubble phase, runs from the toplevel down to the event widget. This option should only be used on containers that might possibly handle events before their children do.
Events are delivered in the bubble phase. The bubble phase happens after the capture phase, and before the default handlers are run. This phase runs from the event widget, up to the toplevel.
Events are delivered in the default widget event handlers, note that widget implementations must chain up on button, motion, touch and grab broken handlers for controllers in this phase to be run.
Trait Implementations
impl Clone for PropagationPhase
[src]
fn clone(&self) -> PropagationPhase
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PropagationPhase
[src]
impl Debug for PropagationPhase
[src]
impl Display for PropagationPhase
[src]
impl Eq for PropagationPhase
[src]
impl<'a> FromValue<'a> for PropagationPhase
[src]
unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for PropagationPhase
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for PropagationPhase
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for PropagationPhase
[src]
fn cmp(&self, other: &PropagationPhase) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<PropagationPhase> for PropagationPhase
[src]
fn eq(&self, other: &PropagationPhase) -> bool
[src]
fn ne(&self, other: &PropagationPhase) -> bool
[src]
impl PartialOrd<PropagationPhase> for PropagationPhase
[src]
fn partial_cmp(&self, other: &PropagationPhase) -> Option<Ordering>
[src]
fn lt(&self, other: &PropagationPhase) -> bool
[src]
fn le(&self, other: &PropagationPhase) -> bool
[src]
fn gt(&self, other: &PropagationPhase) -> bool
[src]
fn ge(&self, other: &PropagationPhase) -> bool
[src]
impl SetValue for PropagationPhase
[src]
impl StaticType for PropagationPhase
[src]
fn static_type() -> Type
[src]
impl StructuralEq for PropagationPhase
[src]
impl StructuralPartialEq for PropagationPhase
[src]
Auto Trait Implementations
impl RefUnwindSafe for PropagationPhase
impl Send for PropagationPhase
impl Sync for PropagationPhase
impl Unpin for PropagationPhase
impl UnwindSafe for PropagationPhase
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,
fn borrow_mut(&mut self) -> &mut T
[src]
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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
T: SetValue + ?Sized,
fn to_value(&self) -> Value
fn to_value_type(&self) -> Type
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.
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>,