Struct sourceview5::View[][src]

pub struct View(_);

Implementations

impl View[src]

pub fn new() -> View[src]

Creates a new View.

By default, an empty Buffer will be lazily created and can be retrieved with gtk::TextViewExt::get_buffer.

If you want to specify your own buffer, either override the gtk::TextViewClass create_buffer factory method, or use View::new_with_buffer.

Returns

a new View.

pub fn with_buffer<P: IsA<Buffer>>(buffer: &P) -> View[src]

Trait Implementations

impl Clone for View[src]

impl Debug for View[src]

impl Default for View[src]

impl Display for View[src]

impl Eq for View[src]

impl Hash for View[src]

impl IsA<Accessible> for View[src]

impl IsA<Buildable> for View[src]

impl IsA<ConstraintTarget> for View[src]

impl IsA<Scrollable> for View[src]

impl IsA<TextView> for View[src]

impl IsA<View> for Map[src]

impl IsA<Widget> for View[src]

impl Ord for View[src]

impl ParentClassIs for View[src]

type Parent = TextView

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

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

impl StaticType for View[src]

impl StructuralEq for View[src]

Auto Trait Implementations

impl RefUnwindSafe for View

impl !Send for View

impl !Sync for View

impl Unpin for View

impl UnwindSafe for View

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<O> ScrollableExt for O where
    O: IsA<Scrollable>, 

impl<O> TextViewExt for O where
    O: IsA<TextView>, 

impl<O> TextViewExtManual for O where
    O: IsA<TextView>, 

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>,