[]Struct gdk::DisplayManager

pub struct DisplayManager(_, _);

Methods

impl DisplayManager[src]

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

pub fn list_displays(&self) -> Vec<Display>[src]

pub fn open_display(&self, name: &str) -> Option<Display>[src]

pub fn set_default_display(&self, display: &Display)[src]

pub fn get() -> DisplayManager[src]

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

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

Trait Implementations

impl Clone for DisplayManager

impl Eq for DisplayManager

impl Ord for DisplayManager

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

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

impl Display for DisplayManager[src]

impl Debug for DisplayManager

impl Hash for DisplayManager

impl StaticType for DisplayManager

Auto Trait Implementations

impl !Send for DisplayManager

impl !Sync for DisplayManager

impl Unpin for DisplayManager

impl UnwindSafe for DisplayManager

impl RefUnwindSafe for DisplayManager

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?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.

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

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

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

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

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

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

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

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