Struct gtk4_sys::GtkColorChooserInterface
source · #[repr(C)]pub struct GtkColorChooserInterface {
pub base_interface: GTypeInterface,
pub get_rgba: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>,
pub set_rgba: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>,
pub add_palette: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: GtkOrientation, _: c_int, _: c_int, _: *mut GdkRGBA)>,
pub color_activated: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>,
pub padding: [gpointer; 12],
}
Fields§
§base_interface: GTypeInterface
§get_rgba: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>
§set_rgba: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>
§add_palette: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: GtkOrientation, _: c_int, _: c_int, _: *mut GdkRGBA)>
§color_activated: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>
§padding: [gpointer; 12]
Trait Implementations§
source§impl Clone for GtkColorChooserInterface
impl Clone for GtkColorChooserInterface
source§fn clone(&self) -> GtkColorChooserInterface
fn clone(&self) -> GtkColorChooserInterface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more