[][src]Struct gtk_sys::GtkStyleClass

#[repr(C)]pub struct GtkStyleClass {
    pub parent_class: GObjectClass,
    pub realize: Option<unsafe extern "C" fn(_: *mut GtkStyle)>,
    pub unrealize: Option<unsafe extern "C" fn(_: *mut GtkStyle)>,
    pub copy: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut GtkStyle)>,
    pub clone: Option<unsafe extern "C" fn(_: *mut GtkStyle) -> *mut GtkStyle>,
    pub init_from_rc: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut GtkRcStyle)>,
    pub set_background: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut GdkWindow, _: GtkStateType)>,
    pub render_icon: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *const GtkIconSource, _: GtkTextDirection, _: GtkStateType, _: GtkIconSize, _: *mut GtkWidget, _: *const c_char) -> *mut GdkPixbuf>,
    pub draw_hline: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int)>,
    pub draw_vline: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int)>,
    pub draw_shadow: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub draw_arrow: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: GtkArrowType, _: gboolean, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub draw_diamond: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub draw_box: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub draw_flat_box: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub draw_check: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub draw_option: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub draw_tab: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub draw_shadow_gap: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int, _: GtkPositionType, _: c_int, _: c_int)>,
    pub draw_box_gap: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int, _: GtkPositionType, _: c_int, _: c_int)>,
    pub draw_extension: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int, _: GtkPositionType)>,
    pub draw_focus: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub draw_slider: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int, _: GtkOrientation)>,
    pub draw_handle: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int, _: GtkOrientation)>,
    pub draw_expander: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: GtkExpanderStyle)>,
    pub draw_layout: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: gboolean, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: *mut PangoLayout)>,
    pub draw_resize_grip: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: GdkWindowEdge, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub draw_spinner: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: c_uint, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved9: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved10: Option<unsafe extern "C" fn()>,
    pub _gtk_reserved11: Option<unsafe extern "C" fn()>,
}

Fields

parent_class: GObjectClassrealize: Option<unsafe extern "C" fn(_: *mut GtkStyle)>unrealize: Option<unsafe extern "C" fn(_: *mut GtkStyle)>copy: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut GtkStyle)>clone: Option<unsafe extern "C" fn(_: *mut GtkStyle) -> *mut GtkStyle>init_from_rc: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut GtkRcStyle)>set_background: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut GdkWindow, _: GtkStateType)>render_icon: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *const GtkIconSource, _: GtkTextDirection, _: GtkStateType, _: GtkIconSize, _: *mut GtkWidget, _: *const c_char) -> *mut GdkPixbuf>draw_hline: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int)>draw_vline: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int)>draw_shadow: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>draw_arrow: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: GtkArrowType, _: gboolean, _: c_int, _: c_int, _: c_int, _: c_int)>draw_diamond: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>draw_box: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>draw_flat_box: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>draw_check: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>draw_option: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>draw_tab: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>draw_shadow_gap: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int, _: GtkPositionType, _: c_int, _: c_int)>draw_box_gap: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int, _: GtkPositionType, _: c_int, _: c_int)>draw_extension: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int, _: GtkPositionType)>draw_focus: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int)>draw_slider: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int, _: GtkOrientation)>draw_handle: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: GtkShadowType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: c_int, _: c_int, _: GtkOrientation)>draw_expander: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: GtkExpanderStyle)>draw_layout: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: gboolean, _: *mut GtkWidget, _: *const c_char, _: c_int, _: c_int, _: *mut PangoLayout)>draw_resize_grip: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: GdkWindowEdge, _: c_int, _: c_int, _: c_int, _: c_int)>draw_spinner: Option<unsafe extern "C" fn(_: *mut GtkStyle, _: *mut cairo_t, _: GtkStateType, _: *mut GtkWidget, _: *const c_char, _: c_uint, _: c_int, _: c_int, _: c_int, _: c_int)>_gtk_reserved1: Option<unsafe extern "C" fn()>_gtk_reserved2: Option<unsafe extern "C" fn()>_gtk_reserved3: Option<unsafe extern "C" fn()>_gtk_reserved4: Option<unsafe extern "C" fn()>_gtk_reserved5: Option<unsafe extern "C" fn()>_gtk_reserved6: Option<unsafe extern "C" fn()>_gtk_reserved7: Option<unsafe extern "C" fn()>_gtk_reserved8: Option<unsafe extern "C" fn()>_gtk_reserved9: Option<unsafe extern "C" fn()>_gtk_reserved10: Option<unsafe extern "C" fn()>_gtk_reserved11: Option<unsafe extern "C" fn()>

Trait Implementations

impl Clone for GtkStyleClass[src]

impl Copy for GtkStyleClass[src]

impl Debug for GtkStyleClass[src]

Auto Trait Implementations

impl RefUnwindSafe for GtkStyleClass

impl !Send for GtkStyleClass

impl !Sync for GtkStyleClass

impl Unpin for GtkStyleClass

impl UnwindSafe for GtkStyleClass

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.