Application.isInhibited

bool isInhibited(gtk.types.ApplicationInhibitFlags flags)

Determines if any of the actions specified in flags are currently inhibited (possibly by another application).

Note that this information may not be available (for example when the application is running in a sandbox).

Parameters

flagswhat types of actions should be queried

Returns

true if any of the actions specified in flags are inhibited