autopilot.process.Application

class autopilot.process.Application
desktop_file

Get the application desktop file.

This returns just the filename, not the full path. If the application no longer exists, this returns an empty string.

name

Get the application name.

Note

This may change according to the current locale. If you want a unique string to match applications against, use desktop_file instead.

icon

Get the application icon.

Returns:The name of the icon.
is_active

Is the application active (i.e. has keyboard focus)?

is_urgent

Is the application currently signalling urgency?

user_visible

Is this application visible to the user?

Note

Some applications (such as the panel) are hidden to the user but may still be returned.

get_windows()

Get a list of the application windows.