Window.getRole

string getRole()

Returns the role of the window. See [gtk.window.Window.setRole] for further explanation.

Returns

the role of the window if set, or null. The

returned is owned by the widget and must not be modified or freed.