Trait gdk::MonitorExt[][src]

pub trait MonitorExt: 'static {
    fn get_display(&self) -> Option<Display>;
fn get_geometry(&self) -> Rectangle;
fn get_height_mm(&self) -> i32;
fn get_manufacturer(&self) -> Option<GString>;
fn get_model(&self) -> Option<GString>;
fn get_refresh_rate(&self) -> i32;
fn get_scale_factor(&self) -> i32;
fn get_subpixel_layout(&self) -> SubpixelLayout;
fn get_width_mm(&self) -> i32;
fn get_workarea(&self) -> Rectangle;
fn is_primary(&self) -> bool;
fn get_property_display(&self) -> Option<Display>;
fn get_property_geometry(&self) -> Option<Rectangle>;
fn get_property_height_mm(&self) -> i32;
fn get_property_refresh_rate(&self) -> i32;
fn get_property_scale_factor(&self) -> i32;
fn get_property_width_mm(&self) -> i32;
fn get_property_workarea(&self) -> Option<Rectangle>;
fn connect_invalidate<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_geometry_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_height_mm_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_manufacturer_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_model_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_refresh_rate_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_scale_factor_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_subpixel_layout_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_width_mm_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_workarea_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<Monitor>> MonitorExt for O[src]

Loading content...