Skip to main content

gdkx11/auto/
x11gl_context.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    ///
9    ///
10    /// # Implements
11    ///
12    /// [`trait@gdk::prelude::GLContextExt`]
13    #[doc(alias = "GdkX11GLContext")]
14    pub struct X11GLContext(Object<ffi::GdkX11GLContext, ffi::GdkX11GLContextClass>) @extends gdk::GLContext;
15
16    match fn {
17        type_ => || ffi::gdk_x11_gl_context_get_type(),
18    }
19}
20
21impl X11GLContext {}
22
23impl fmt::Display for X11GLContext {
24    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
25        f.write_str("X11GLContext")
26    }
27}