Struct libappindicator_sys::_AppIndicatorClass[][src]

#[repr(C)]
pub struct _AppIndicatorClass {
Show 17 fields pub parent_class: GObjectClass, pub new_icon: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, user_data: gpointer)>, pub new_attention_icon: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, user_data: gpointer)>, pub new_status: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, status: *const gchar, user_data: gpointer)>, pub new_icon_theme_path: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, icon_theme_path: *const gchar, user_data: gpointer)>, pub new_label: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, label: *const gchar, guide: *const gchar, user_data: gpointer)>, pub connection_changed: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, connected: gboolean, user_data: gpointer)>, pub scroll_event: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, delta: gint, direction: GdkScrollDirection, user_data: gpointer)>, pub app_indicator_reserved_ats: Option<unsafe extern "C" fn()>, pub fallback: Option<unsafe extern "C" fn(indicator: *mut AppIndicator) -> *mut GtkStatusIcon>, pub unfallback: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, status_icon: *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()>,
}
Expand description

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(indicator: *mut AppIndicator, user_data: gpointer)>new_attention_icon: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, user_data: gpointer)>new_status: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, status: *const gchar, user_data: gpointer)>new_icon_theme_path: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, icon_theme_path: *const gchar, user_data: gpointer)>new_label: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, label: *const gchar, guide: *const gchar, user_data: gpointer)>connection_changed: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, connected: gboolean, user_data: gpointer)>scroll_event: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, delta: gint, direction: GdkScrollDirection, user_data: gpointer)>app_indicator_reserved_ats: Option<unsafe extern "C" fn()>fallback: Option<unsafe extern "C" fn(indicator: *mut AppIndicator) -> *mut GtkStatusIcon>unfallback: Option<unsafe extern "C" fn(indicator: *mut AppIndicator, status_icon: *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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.