Declaration [src]

const gchar*
gtk_window_get_role (
  GtkWindow* window

Description [src]

Returns the role of the window. See gtk_window_set_role() for further explanation.

Gets propertyGtk.Window:role

Return value

Type: const gchar*

The role of the window if set, or NULL. The returned is owned by the widget and must not be modified or freed.

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