gdk4_win32/auto/
win32_hcursor.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    ///
10    ///
11    /// ## Properties
12    ///
13    ///
14    /// #### `destroyable`
15    ///  Readable | Writeable | Construct Only
16    ///
17    ///
18    /// #### `display`
19    ///  Readable | Writeable | Construct Only
20    ///
21    ///
22    /// #### `handle`
23    ///  Readable | Writeable | Construct Only
24    #[doc(alias = "GdkWin32HCursor")]
25    pub struct Win32HCursor(Object<ffi::GdkWin32HCursor, ffi::GdkWin32HCursorClass>);
26
27    match fn {
28        type_ => || ffi::gdk_win32_hcursor_get_type(),
29    }
30}
31
32impl Win32HCursor {
33    pub fn is_destroyable(&self) -> bool {
34        ObjectExt::property(self, "destroyable")
35    }
36
37    pub fn display(&self) -> Option<gdk::Display> {
38        ObjectExt::property(self, "display")
39    }
40}