gtk/widget.go
func (v *Widget) GetName() (string, error) {
	c := C.gtk_widget_get_name(v.native())
	if c == nil {
		return "", nilPtrErr
	}
	return C.GoString((*C.char)(c)), nil
}
func (v *Widget) GetName() (string, error) {
	c := C.gtk_widget_get_name(v.native())
	if c == nil {
		return "", nilPtrErr
	}
	return C.GoString((*C.char)(c)), nil
}
func ( v * Widget ) GetName ( ) ( string , error ) { c := C . gtk_widget_get_name ( v . native ( ) ) if c == nil { return " " , nilPtrErr } return C . GoString ( ( * C . char ) ( c ) ) , nil }
// GetName() is a wrapper around gtk_widget_get_name().  A non-nil
// error is returned in the case that gtk_widget_get_name returns NULL to
// differentiate between NULL and an empty string.
GetName () is a wrapper around gtk_widget_get_name () . A non - nil error is returned in the case that gtk_widget_get_name returns NULL to differentiate between NULL and an empty string .