gtk4/auto/
closure_expression.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5use crate::ffi;
6use glib::{prelude::*, translate::*};
7
8glib::wrapper! {
9    #[doc(alias = "GtkClosureExpression")]
10    pub struct ClosureExpression(Shared<ffi::GtkClosureExpression>);
11
12    match fn {
13        ref => |ptr| ffi::gtk_expression_ref(ptr as *mut ffi::GtkExpression),
14        unref => |ptr| ffi::gtk_expression_unref(ptr as *mut ffi::GtkExpression),
15    }
16}
17
18impl StaticType for ClosureExpression {
19    fn static_type() -> glib::Type {
20        unsafe { from_glib(ffi::gtk_closure_expression_get_type()) }
21    }
22}
23
24impl ClosureExpression {}