#[repr(C)]
pub struct GtkStyleClass {
Show 39 fields 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

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)

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.