### Method

# Gtk Widget get_name

#### Declaration [src]

    const char*
    gtk_widget_get_name (
      GtkWidget* widget
    )

#### Description [src]

Retrieves the name of a widget.

See `gtk_widget_set_name()` for the significance of widget names.

Gets property | `Gtk.Widget:name`

#### Return value

Type: `const char*`

Name of the widget.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.