get_window_type


Description:

public TextWindowType get_window_type (Window window)

Usually used to find out which window an event corresponds to.

If you connect to an event signal on this, this function should be called on `event->window` to see which window it was.

Parameters:

this

a TextView

window

a window type

Returns:

the window type.