func (w *Widget) GetXOk() (int, bool) {
	if w == nil || w.X == nil {
		return 0, false
	}
	return *w.X, true
}
func (w *Widget) GetXOk() (int, bool) {
	if w == nil || w.X == nil {
		return 0, false
	}
	return *w.X, true
}
// GetXOk returns a tuple with the X field if it's non-nil, zero value otherwise
// and a boolean to check if the value has been set.