Trait gdk::prelude::FrameClockExt
[−]
[src]
pub trait FrameClockExt { 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) -> u64; fn connect_before_paint<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_flush_events<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_layout<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_paint<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_resume_events<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_update<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }
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) -> u64
fn connect_before_paint<F: Fn(&Self) + 'static>(&self, f: F) -> u64
fn connect_flush_events<F: Fn(&Self) + 'static>(&self, f: F) -> u64
fn connect_layout<F: Fn(&Self) + 'static>(&self, f: F) -> u64
fn connect_paint<F: Fn(&Self) + 'static>(&self, f: F) -> u64
fn connect_resume_events<F: Fn(&Self) + 'static>(&self, f: F) -> u64
fn connect_update<F: Fn(&Self) + 'static>(&self, f: F) -> u64
Implementors
impl<O: IsA<FrameClock> + IsA<Object>> FrameClockExt for O