Struct sourceview5::StyleScheme[][src]

pub struct StyleScheme(_);

Implementations

impl StyleScheme[src]

pub fn get_authors(&self) -> Vec<GString>[src]

Returns

a None-terminated array containing the self authors or None if no author is specified by the style scheme.

pub fn get_description(&self) -> Option<GString>[src]

Returns

self description (if defined), or None.

pub fn get_filename(&self) -> Option<GString>[src]

Returns

self file name if the scheme was created parsing a style scheme file or None in the other cases.

pub fn get_id(&self) -> Option<GString>[src]

Returns

self id.

pub fn get_name(&self) -> Option<GString>[src]

Returns

self name.

pub fn get_style(&self, style_id: &str) -> Option<Style>[src]

style_id

id of the style to retrieve.

Returns

style which corresponds to style_id in the self, or None when no style with this name found. It is owned by self and may not be unref’ed.

pub fn connect_property_description_notify<F: Fn(&StyleScheme) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_filename_notify<F: Fn(&StyleScheme) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_name_notify<F: Fn(&StyleScheme) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Trait Implementations

impl Clone for StyleScheme[src]

impl Debug for StyleScheme[src]

impl Display for StyleScheme[src]

impl Eq for StyleScheme[src]

impl Hash for StyleScheme[src]

impl Ord for StyleScheme[src]

impl ParentClassIs for StyleScheme[src]

type Parent = Object

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

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

impl StaticType for StyleScheme[src]

impl StructuralEq for StyleScheme[src]

Auto Trait Implementations

impl RefUnwindSafe for StyleScheme

impl !Send for StyleScheme

impl !Sync for StyleScheme

impl Unpin for StyleScheme

impl UnwindSafe for StyleScheme

Blanket Implementations

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 

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

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.