func (v *Display) GetPrimaryMonitor() (*Monitor, error) {
	c := C.gdk_display_get_primary_monitor(v.native())
	if c == nil {
		return nil, nilPtrErr
	}

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

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