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 propertyGtk.Widget:name

Return value

Returns: const char*

name of the widget. This string is owned by GTK and should not be modified or freed

The data is owned by the called function
The string is a NUL terminated UTF-8 string