# 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`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)