Method

GtkApplicationis_inhibited

since: 3.4

Declaration [src]

gboolean
gtk_application_is_inhibited (
  GtkApplication* application,
  GtkApplicationInhibitFlags flags
)

Description [src]

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).

Available since: 3.4

Parameters

flags

Type: GtkApplicationInhibitFlags

What types of actions should be queried.

Return value

Type: gboolean

TRUE if any of the actions specified in flags are inhibited.