Window.getRole

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

class Window
string
getRole
()

Return Value

Type: string

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