gdk/gdk.go
func (v *Display) GetDefaultScreen() (*Screen, error) {
	c := C.gdk_display_get_default_screen(v.native())
	if c == nil {
		return nil, nilPtrErr
	}

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

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