[][src]Trait gdk::FrameClockExt

pub trait FrameClockExt: 'static {
    fn begin_updating(&self);
fn end_updating(&self);
fn get_current_timings(&self) -> Option<FrameTimings>;
fn get_frame_counter(&self) -> i64;
fn get_frame_time(&self) -> i64;
fn get_history_start(&self) -> i64;
fn get_timings(&self, frame_counter: i64) -> Option<FrameTimings>;
fn request_phase(&self, phase: FrameClockPhase);
fn connect_after_paint<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_before_paint<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_flush_events<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_layout<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_paint<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_resume_events<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_update<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; }

Required methods

fn begin_updating(&self)

fn end_updating(&self)

fn get_current_timings(&self) -> Option<FrameTimings>

fn get_frame_counter(&self) -> i64

fn get_frame_time(&self) -> i64

fn get_history_start(&self) -> i64

fn get_timings(&self, frame_counter: i64) -> Option<FrameTimings>

fn request_phase(&self, phase: FrameClockPhase)

fn connect_after_paint<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_before_paint<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_flush_events<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_layout<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_paint<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_resume_events<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_update<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<FrameClock>> FrameClockExt for O[src]

Loading content...