gdk/gdk_since_3_16.go
func GetCurrent() (*GLContext, error) {
	c := C.gdk_gl_context_get_current()
	if c == nil {
		return nil, nilPtrErr
	}

	return &GLContext{glib.Take(unsafe.Pointer(c))}, nil
}
func GetCurrent() (*GLContext, error) {
	c := C.gdk_gl_context_get_current()
	if c == nil {
		return nil, nilPtrErr
	}

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