Skip to main content

GutterRendererExt

Trait GutterRendererExt 

Source
pub trait GutterRendererExt: IsA<GutterRenderer> + 'static {
Show 26 methods // Provided methods fn activate( &self, iter: &TextIter, area: &Rectangle, button: u32, state: ModifierType, n_presses: i32, ) { ... } fn align_cell(&self, line: u32, width: f32, height: f32) -> (f32, f32) { ... } fn alignment_mode(&self) -> GutterRendererAlignmentMode { ... } fn buffer(&self) -> Option<Buffer> { ... } fn view(&self) -> View { ... } fn xalign(&self) -> f32 { ... } fn xpad(&self) -> i32 { ... } fn yalign(&self) -> f32 { ... } fn ypad(&self) -> i32 { ... } fn query_activatable(&self, iter: &TextIter, area: &Rectangle) -> bool { ... } fn set_alignment_mode(&self, mode: GutterRendererAlignmentMode) { ... } fn set_xalign(&self, xalign: f32) { ... } fn set_xpad(&self, xpad: i32) { ... } fn set_yalign(&self, yalign: f32) { ... } fn set_ypad(&self, ypad: i32) { ... } fn lines(&self) -> Option<GutterLines> { ... } fn connect_activate<F: Fn(&Self, &TextIter, &Rectangle, u32, ModifierType, i32) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_query_activatable<F: Fn(&Self, &TextIter, &Rectangle) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_query_data<F: Fn(&Self, &Object, u32) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_alignment_mode_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_lines_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_view_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_xalign_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_xpad_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_yalign_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_ypad_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn activate( &self, iter: &TextIter, area: &Rectangle, button: u32, state: ModifierType, n_presses: i32, )

Source

fn align_cell(&self, line: u32, width: f32, height: f32) -> (f32, f32)

Source

fn alignment_mode(&self) -> GutterRendererAlignmentMode

Source

fn buffer(&self) -> Option<Buffer>

Source

fn view(&self) -> View

Source

fn xalign(&self) -> f32

Source

fn xpad(&self) -> i32

Source

fn yalign(&self) -> f32

Source

fn ypad(&self) -> i32

Source

fn query_activatable(&self, iter: &TextIter, area: &Rectangle) -> bool

Source

fn set_alignment_mode(&self, mode: GutterRendererAlignmentMode)

Source

fn set_xalign(&self, xalign: f32)

Source

fn set_xpad(&self, xpad: i32)

Source

fn set_yalign(&self, yalign: f32)

Source

fn set_ypad(&self, ypad: i32)

Source

fn lines(&self) -> Option<GutterLines>

Source

fn connect_activate<F: Fn(&Self, &TextIter, &Rectangle, u32, ModifierType, i32) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_query_activatable<F: Fn(&Self, &TextIter, &Rectangle) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§