// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files.git)
// DO NOT EDIT

use std::fmt;

glib::wrapper! {
    pub struct X11GLContext(Object<ffi::GdkX11GLContext, ffi::GdkX11GLContextClass>) @extends gdk::GLContext, gdk::DrawContext;

    match fn {
        type_ => || ffi::gdk_x11_gl_context_get_type(),
    }
}

impl X11GLContext {}

impl fmt::Display for X11GLContext {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        f.write_str("X11GLContext")
    }
}
