get_active_window


Description:

[ Version ( since = "3.6" ) ]
public unowned Window? get_active_window ()

Gets the “active” window for the application.

The active window is the one that was most recently focused (within the application). This window may not have the focus at the moment if another application has it — this is just the most recently-focused window within this application.

Parameters:

this

a Application

Returns:

the active window, or null if there isn't one.