Method

GtkWidgetget_composite_name

Declaration [src]

gchar*
gtk_widget_get_composite_name (
  GtkWidget* widget
)

Description [src]

Obtains the composite name of a widget.

Deprecated since:3.10

Use gtk_widget_class_set_template(), or don’t use this API at all.

Return value

Returns: gchar*
 

The composite name of widget, or NULL if widget is not a composite child. The string should be freed when it is no longer needed.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.