[][src]Struct libappindicator::_AppIndicatorClass

#[repr(C)]pub struct _AppIndicatorClass {
    pub parent_class: _GObjectClass,
    pub new_icon: Option<unsafe extern "C" fn(*mut _AppIndicator, *mut c_void)>,
    pub new_attention_icon: Option<unsafe extern "C" fn(*mut _AppIndicator, *mut c_void)>,
    pub new_status: Option<unsafe extern "C" fn(*mut _AppIndicator, *const i8, *mut c_void)>,
    pub new_icon_theme_path: Option<unsafe extern "C" fn(*mut _AppIndicator, *const i8, *mut c_void)>,
    pub new_label: Option<unsafe extern "C" fn(*mut _AppIndicator, *const i8, *const i8, *mut c_void)>,
    pub connection_changed: Option<unsafe extern "C" fn(*mut _AppIndicator, i32, *mut c_void)>,
    pub scroll_event: Option<unsafe extern "C" fn(*mut _AppIndicator, i32, u32, *mut c_void)>,
    pub app_indicator_reserved_ats: Option<unsafe extern "C" fn()>,
    pub fallback: Option<unsafe extern "C" fn(*mut _AppIndicator) -> *mut GtkStatusIcon>,
    pub unfallback: Option<unsafe extern "C" fn(*mut _AppIndicator, *mut GtkStatusIcon)>,
    pub app_indicator_reserved_1: Option<unsafe extern "C" fn()>,
    pub app_indicator_reserved_2: Option<unsafe extern "C" fn()>,
    pub app_indicator_reserved_3: Option<unsafe extern "C" fn()>,
    pub app_indicator_reserved_4: Option<unsafe extern "C" fn()>,
    pub app_indicator_reserved_5: Option<unsafe extern "C" fn()>,
    pub app_indicator_reserved_6: Option<unsafe extern "C" fn()>,
}

AppIndicatorClass: @parent_class: Mia familia @new_icon: Slot for #AppIndicator::new-icon. @new_attention_icon: Slot for #AppIndicator::new-attention-icon. @new_status: Slot for #AppIndicator::new-status. @new_icon_theme_path: Slot for #AppIndicator::new-icon-theme-path @new_label: Slot for #AppIndicator::new-label. @connection_changed: Slot for #AppIndicator::connection-changed. @scroll_event: Slot for #AppIndicator::scroll-event @app_indicator_reserved_ats: Reserved for future use. @fallback: Function that gets called to make a #GtkStatusIcon when there is no Application Indicator area available. @unfallback: The function that gets called if an Application Indicator area appears after the fallback has been created. @app_indicator_reserved_1: Reserved for future use. @app_indicator_reserved_2: Reserved for future use. @app_indicator_reserved_3: Reserved for future use. @app_indicator_reserved_4: Reserved for future use. @app_indicator_reserved_5: Reserved for future use. @app_indicator_reserved_6: Reserved for future use.

The signals and external functions that make up the #AppIndicator class object.

Fields

parent_class: _GObjectClassnew_icon: Option<unsafe extern "C" fn(*mut _AppIndicator, *mut c_void)>new_attention_icon: Option<unsafe extern "C" fn(*mut _AppIndicator, *mut c_void)>new_status: Option<unsafe extern "C" fn(*mut _AppIndicator, *const i8, *mut c_void)>new_icon_theme_path: Option<unsafe extern "C" fn(*mut _AppIndicator, *const i8, *mut c_void)>new_label: Option<unsafe extern "C" fn(*mut _AppIndicator, *const i8, *const i8, *mut c_void)>connection_changed: Option<unsafe extern "C" fn(*mut _AppIndicator, i32, *mut c_void)>scroll_event: Option<unsafe extern "C" fn(*mut _AppIndicator, i32, u32, *mut c_void)>app_indicator_reserved_ats: Option<unsafe extern "C" fn()>fallback: Option<unsafe extern "C" fn(*mut _AppIndicator) -> *mut GtkStatusIcon>unfallback: Option<unsafe extern "C" fn(*mut _AppIndicator, *mut GtkStatusIcon)>app_indicator_reserved_1: Option<unsafe extern "C" fn()>app_indicator_reserved_2: Option<unsafe extern "C" fn()>app_indicator_reserved_3: Option<unsafe extern "C" fn()>app_indicator_reserved_4: Option<unsafe extern "C" fn()>app_indicator_reserved_5: Option<unsafe extern "C" fn()>app_indicator_reserved_6: Option<unsafe extern "C" fn()>

Trait Implementations

impl Clone for _AppIndicatorClass[src]

impl Copy for _AppIndicatorClass[src]

impl Debug for _AppIndicatorClass[src]

Auto Trait Implementations

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<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.