gtk/widget.go
func (v *Widget) GetWindow() (*gdk.Window, error) {
	c := C.gtk_widget_get_window(v.native())
	if c == nil {
		return nil, nilPtrErr
	}

	w := &gdk.Window{glib.Take(unsafe.Pointer(c))}
	return w, nil
}
func (v *Widget) GetWindow() (*gdk.Window, error) {
	c := C.gtk_widget_get_window(v.native())
	if c == nil {
		return nil, nilPtrErr
	}

	w := &gdk.Window{glib.Take(unsafe.Pointer(c))}
	return w, nil
}
func ( v * Widget ) GetWindow ( ) ( * gdk . Window , error ) { c := C . gtk_widget_get_window ( v . native ( ) ) if c == nil { return nil , nilPtrErr } w := & gdk . Window { glib . Take ( unsafe . Pointer ( c ) ) } return w , nil }
// GetWindow is a wrapper around gtk_widget_get_window().
GetWindow is a wrapper around gtk_widget_get_window () .