Debian Codegraph @

src/auto/new_frame.rs

raw symbols SCIP
1 // This file was generated by gir (https://github.com/gtk-rs/gir)
2 // from
3 // from gir-files
4 // DO NOT EDIT
5
6 use glib::translate::*;
7
8 use crate::ffi;
9
10 glib::wrapper! {
11 #[doc(alias = "GlyNewFrame")]
12 pub struct NewFrame(Object<ffi::GlyNewFrame, ffi::GlyNewFrameClass>);
13
14 match fn {
15 type_ => || ffi::gly_new_frame_get_type(),
16 }
17 }
18
19 impl NewFrame {
20 #[doc(alias = "gly_new_frame_set_color_icc_profile")]
21 pub fn set_color_icc_profile(&self, icc_profile: &glib::Bytes) -> bool {
22 unsafe {
23 from_glib(ffi::gly_new_frame_set_color_icc_profile(
24 self.to_glib_none().0,
25 icc_profile.to_glib_none().0,
26 ))
27 }
28 }
29 }
30
31 unsafe impl Send for NewFrame {}
32 unsafe impl Sync for NewFrame {}