Struct sourceview5::Gutter[][src]

pub struct Gutter(_);

Implementations

impl Gutter[src]

pub fn get_view(&self) -> Option<View>[src]

Returns

the associated View.

pub fn insert<P: IsA<GutterRenderer>>(
    &self,
    renderer: &P,
    position: i32
) -> bool
[src]

Insert renderer into the gutter. If renderer is yet unowned then gutter claims its ownership. Otherwise just increases renderer’s reference count. renderer cannot be already inserted to another gutter.

renderer

a gutter renderer (must inherit from GutterRenderer).

position

the renderer position.

Returns

true if operation succeeded. Otherwise false.

pub fn remove<P: IsA<GutterRenderer>>(&self, renderer: &P)[src]

pub fn reorder<P: IsA<GutterRenderer>>(&self, renderer: &P, position: i32)[src]

Reorders renderer in self to new position.

renderer

a gtk::CellRenderer.

position

the new renderer position.

pub fn get_property_window_type(&self) -> TextWindowType[src]

The text window type on which the window is placed.

Trait Implementations

impl Clone for Gutter[src]

impl Debug for Gutter[src]

impl Display for Gutter[src]

impl Eq for Gutter[src]

impl Hash for Gutter[src]

impl IsA<Accessible> for Gutter[src]

impl IsA<Buildable> for Gutter[src]

impl IsA<ConstraintTarget> for Gutter[src]

impl IsA<Widget> for Gutter[src]

impl Ord for Gutter[src]

impl ParentClassIs for Gutter[src]

type Parent = Widget

impl<T: ObjectType> PartialEq<T> for Gutter[src]

impl<T: ObjectType> PartialOrd<T> for Gutter[src]

impl StaticType for Gutter[src]

impl StructuralEq for Gutter[src]

Auto Trait Implementations

impl RefUnwindSafe for Gutter

impl !Send for Gutter

impl !Sync for Gutter

impl Unpin for Gutter

impl UnwindSafe for Gutter

Blanket Implementations

impl<O> AccessibleExt for O where
    O: IsA<Accessible>, 

impl<O> AccessibleExtManual for O where
    O: IsA<Accessible>, 

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<O> BuildableExt for O where
    O: IsA<Buildable>, 

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 

impl<T> Cast for T where
    T: ObjectType, 

impl<O> ConstraintTargetExt for O where
    O: IsA<ConstraintTarget>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<O> WidgetExt for O where
    O: IsA<Widget>, 

impl<O> WidgetExtManual for O where
    O: IsA<Widget>,