Struct gtk_sys::GtkStyleClass
[−]
[src]
#[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, _: c_int, _: *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: GObjectClass
realize: 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, _: c_int, _: *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 Copy for GtkStyleClass
[src]
impl Clone for GtkStyleClass
[src]
fn clone(&self) -> GtkStyleClass
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more