get_role


Description:

public unowned string? get_role ()

Returns the role of the window.

See set_role for further explanation.

Parameters:

this

a Window

Returns:

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