gdk/gdk_since_3_16.go
func (v *GLContext) GetDisplay() (*Display, error) {
	c := C.gdk_gl_context_get_display(v.native())
	if c == nil {
		return nil, nilPtrErr
	}

	return &Display{glib.Take(unsafe.Pointer(c))}, nil
}
func (v *GLContext) GetDisplay() (*Display, error) {
	c := C.gdk_gl_context_get_display(v.native())
	if c == nil {
		return nil, nilPtrErr
	}

	return &Display{glib.Take(unsafe.Pointer(c))}, nil
}
func ( v * GLContext ) GetDisplay ( ) ( * Display , error ) { c := C . gdk_gl_context_get_display ( v . native ( ) ) if c == nil { return nil , nilPtrErr } return & Display { glib . Take ( unsafe . Pointer ( c ) ) } , nil }
// GetDisplay is a wrapper around gdk_gl_context_get_display().
GetDisplay is a wrapper around gdk_gl_context_get_display () .