[]Struct gdk::Monitor

pub struct Monitor(_, _);

Methods

impl Monitor[src]

pub fn get_display(&self) -> Option<Display>[src]

pub fn get_geometry(&self) -> Rectangle[src]

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

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

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

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

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

pub fn get_subpixel_layout(&self) -> SubpixelLayout[src]

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

pub fn get_workarea(&self) -> Rectangle[src]

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

pub fn get_property_display(&self) -> Option<Display>[src]

pub fn get_property_geometry(&self) -> Option<Rectangle>[src]

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

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

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

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

pub fn get_property_workarea(&self) -> Option<Rectangle>[src]

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

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

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

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

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

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

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

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

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

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

Trait Implementations

impl Clone for Monitor

impl Debug for Monitor

impl Display for Monitor[src]

impl Eq for Monitor

impl Hash for Monitor

impl Ord for Monitor

impl<T: ObjectType> PartialEq<T> for Monitor

impl<T: ObjectType> PartialOrd<T> for Monitor

impl StaticType for Monitor

Auto Trait Implementations

impl RefUnwindSafe for Monitor

impl !Send for Monitor

impl !Sync for Monitor

impl Unpin for Monitor

impl UnwindSafe for Monitor

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<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[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: ToValue + SetValue + Send + ?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 = !

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.