func (w *Widget) HasX() bool {
	if w != nil && w.X != nil {
		return true
	}

	return false
}
func (w *Widget) HasX() bool {
	if w != nil && w.X != nil {
		return true
	}

	return false
}
func ( w * Widget ) HasX ( ) bool { if w != nil && w . X != nil { return true } return false }
// HasX returns a boolean if a field has been set.
HasX returns a boolean if a field has been set .