Struct clutter::InputDevice[][src]

pub struct InputDevice(_, _);

Implementations

impl InputDevice[src]

pub fn get_associated_device(&self) -> Option<InputDevice>[src]

pub fn get_axis(&self, index_: u32) -> InputAxis[src]

pub fn get_device_id(&self) -> i32[src]

pub fn get_device_mode(&self) -> InputMode[src]

pub fn get_device_name(&self) -> Option<GString>[src]

pub fn get_device_type(&self) -> InputDeviceType[src]

pub fn get_enabled(&self) -> bool[src]

pub fn get_grabbed_actor(&self) -> Option<Actor>[src]

pub fn get_has_cursor(&self) -> bool[src]

pub fn get_key(&self, index_: u32) -> Option<(u32, ModifierType)>[src]

pub fn get_modifier_state(&self) -> ModifierType[src]

pub fn get_n_axes(&self) -> u32[src]

pub fn get_n_keys(&self) -> u32[src]

pub fn get_pointer_actor(&self) -> Option<Actor>[src]

pub fn get_pointer_stage(&self) -> Option<Stage>[src]

pub fn get_product_id(&self) -> Option<GString>[src]

pub fn get_slave_devices(&self) -> Vec<InputDevice>[src]

pub fn get_vendor_id(&self) -> Option<GString>[src]

pub fn grab<P: IsA<Actor>>(&self, actor: &P)[src]

pub fn sequence_get_grabbed_actor(
    &self,
    sequence: &mut EventSequence
) -> Option<Actor>
[src]

pub fn sequence_grab<P: IsA<Actor>>(
    &self,
    sequence: &mut EventSequence,
    actor: &P
)
[src]

pub fn sequence_ungrab(&self, sequence: &mut EventSequence)[src]

pub fn set_enabled(&self, enabled: bool)[src]

pub fn set_key(&self, index_: u32, keyval: u32, modifiers: ModifierType)[src]

pub fn ungrab(&self)[src]

pub fn update_from_event(&self, event: &mut Event, update_stage: bool)[src]

pub fn get_property_backend(&self) -> Option<Backend>[src]

pub fn get_property_device_manager(&self) -> Option<DeviceManager>[src]

pub fn get_property_id(&self) -> i32[src]

pub fn get_property_name(&self) -> Option<GString>[src]

pub fn connect_property_enabled_notify<F: Fn(&InputDevice) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_n_axes_notify<F: Fn(&InputDevice) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Trait Implementations

impl Clone for InputDevice[src]

impl Debug for InputDevice[src]

impl Display for InputDevice[src]

impl Eq for InputDevice[src]

impl Hash for InputDevice[src]

impl Ord for InputDevice[src]

impl<T: ObjectType> PartialEq<T> for InputDevice[src]

impl<T: ObjectType> PartialOrd<T> for InputDevice[src]

impl StaticType for InputDevice[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.