atk/auto/util.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 std::fmt;
6
7glib::wrapper! {
8 /// A set of ATK utility functions for event and toolkit support.
9 ///
10 /// A set of ATK utility functions which are used to support event
11 /// registration of various types, and obtaining the 'root' accessible
12 /// of a process and information about the current ATK implementation
13 /// and toolkit version.
14 ///
15 /// # Implements
16 ///
17 /// [`trait@glib::ObjectExt`]
18 #[doc(alias = "AtkUtil")]
19 pub struct Util(Object<ffi::AtkUtil, ffi::AtkUtilClass>);
20
21 match fn {
22 type_ => || ffi::atk_util_get_type(),
23 }
24}
25
26impl Util {
27 pub const NONE: Option<&'static Util> = None;
28}
29
30impl fmt::Display for Util {
31 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
32 f.write_str("Util")
33 }
34}