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

Returns: utf8

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

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